Skip to content

Commit

Permalink
Merge pull request #8437 from MeSophie/NewPivot8420
Browse files Browse the repository at this point in the history
Ensured that the Change of the Data Frame Works correctly in the Pivot Table dialog in Climatic Menu
  • Loading branch information
lloyddewit authored Jul 13, 2023
2 parents 5a4c092 + d91ccc1 commit d438024
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instat/dlgThreeVariablePivotTable.vb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ Public Class dlgThreeVariablePivotTable
ucrReceiverFactorLevels.Add(strMonthCol, strDataFrame)
ucrReceiverInitialColumnFactor.Add(strMonthCol, strDataFrame)
End If
If ucrSelectorPivot.lstAvailableVariable.Items.Count > 0 Then
If ucrSelectorPivot.lstAvailableVariable.Items.Count > 0 AndAlso
Not String.IsNullOrEmpty(strYearCol) AndAlso Not String.IsNullOrEmpty(strDayCol) Then
Dim lstItems(1) As KeyValuePair(Of String, String)
lstItems(0) = New KeyValuePair(Of String, String)(strDataFrame, strYearCol)
lstItems(1) = New KeyValuePair(Of String, String)(strDataFrame, strDayCol)
Expand Down

0 comments on commit d438024

Please sign in to comment.