Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#8983 from Vitalis95/dlghide
Browse files Browse the repository at this point in the history
Fixed bug when using Hide/Unhide Data Frame Dialogue
  • Loading branch information
conlooptechnologies authored May 17, 2024
2 parents 34c555b + f05e027 commit ff2376e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions instat/dlgHideDataframes.vb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Public Class dlgHideDataframes

ucrSelectorForDataFrames.Reset()

clsDummyFunction.AddParameter("checked", "rdoHide", iPosition:=0)
clsDummyFunction.AddParameter("checked", "rdoUnhide", iPosition:=0)

clsMappingFunction.SetPackageName("purrr")
clsMappingFunction.SetRCommand("map")
Expand Down Expand Up @@ -143,8 +143,11 @@ Public Class dlgHideDataframes

If expTemp IsNot Nothing AndAlso expTemp.Type <> Internals.SymbolicExpressionType.Null Then
chrHiddenColumns = expTemp.AsCharacter
For Each strDataFrame As String In chrHiddenColumns
ucrSelectorForDataFrames.lstAvailableVariable.Items.Add(strDataFrame)
For i As Integer = 0 To chrHiddenColumns.Length - 1
Dim strDataFrame As String = chrHiddenColumns(i)
Dim listItem As New ListViewItem(strDataFrame)
listItem.Tag = "data_names"
ucrSelectorForDataFrames.lstAvailableVariable.Items.Add(listItem)
Next
End If
End Sub
Expand Down

0 comments on commit ff2376e

Please sign in to comment.