Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation Layout changes in New Data Frame dialogue #8058

Merged
60 changes: 32 additions & 28 deletions instat/dlgNewDataFrame.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion instat/dlgNewDataFrame.vb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ Public Class dlgNewDataFrame
ucrChkRCommand.Checked = False
ucrNudCols.SetText(2)

ucrInputCategory.SetName("animals")
clsCorporaFunction.SetPackageName("rcorpora")
clsCorporaFunction.SetRCommand("corpora")

Expand Down Expand Up @@ -788,8 +789,11 @@ Public Class dlgNewDataFrame
Array.Sort(arrAvailableLists)
ucrInputListInCategory.SetParameter(New RParameter("list"))
ucrInputListInCategory.SetItems(arrAvailableLists, bAddConditions:=True)
If arrAvailableLists.Count > 0 Then
ucrInputListInCategory.cboInput.SelectedIndex = 0
End If
Else
ucrInputListInCategory.SetItems()
ucrInputListInCategory.SetItems()
derekagorhom marked this conversation as resolved.
Show resolved Hide resolved
End If
End Sub

Expand Down