Skip to content

Commit

Permalink
Merge pull request #3920 from AlexSananka/MinorEditsonduplicates
Browse files Browse the repository at this point in the history
Minor edits on duplicates and dlgname
  • Loading branch information
dannyparsons authored Sep 12, 2017
2 parents 1e7dd59 + 77aa594 commit b30139c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion instat/dlgDuplicatesConstructed.vb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ Public Class dlgDuplicatesConstructed
If Not ucrReceiverForSuccessiveValues.IsEmpty Then
clsSubsetCol.AddParameter("col_name", ucrReceiverForSuccessiveValues.GetVariableNames())
clsSubsetCol.AddParameter("data_name", Chr(34) & ucrSelectorDuplicateswithVariables.ucrAvailableDataFrames.cboAvailableDataFrames.SelectedItem & Chr(34))
frmMain.clsRLink.RunInternalScriptGetValue(clsSubsetCol.ToScript)
clsStreakFunction.AddParameter("ignore", clsSubsetCol.ToScript & "[" & clsSubsetCol.ToScript & ucrInputConditions.GetText & Chr(34) & ucrInputOmitValues.GetText & Chr(34) & "]", iPosition:=2)
Else
clsStreakFunction.AddParameter("ignore", "NULL")
Expand Down
6 changes: 6 additions & 0 deletions instat/dlgName.vb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Public Class dlgName
If bFirstLoad Then
InitialiseDialog()
bFirstLoad = False
Else
ReopenDialog()
End If
If bReset Then
SetDefaults()
Expand Down Expand Up @@ -60,6 +62,10 @@ Public Class dlgName
ucrInputVariableLabel.SetParameter(New RParameter("label", 3))
End Sub

Private Sub ReopenDialog()
ucrSelectVariables.Reset()
End Sub

Public Sub SetDefaults()
clsDefaultRFunction = New RFunction
ucrInputVariableLabel.Reset()
Expand Down

0 comments on commit b30139c

Please sign in to comment.