mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fix for clicking OK button
This commit is contained in:
parent
9210f2f925
commit
f17ed3c749
1 changed files with 5 additions and 6 deletions
|
@ -256,7 +256,11 @@ namespace IDE.ui
|
|||
|
||||
mWindowFlags = .ClientSized | .TopMost | .Caption | .Border | .SysMenu | .Resizable | .PopupPosition;
|
||||
|
||||
AddOkCancelButtons(new (evt) => { CreateClass(); }, null, 0, 1);
|
||||
AddOkCancelButtons(new (evt) =>
|
||||
{
|
||||
Submit();
|
||||
evt.mCloseDialog = false;
|
||||
}, null, 0, 1);
|
||||
|
||||
Title = "Generate";
|
||||
|
||||
|
@ -486,11 +490,6 @@ namespace IDE.ui
|
|||
mWidgetWindow.SetMinimumSize(GS!(240), (.)mUIHeight + GS!(24), true);
|
||||
}
|
||||
|
||||
void CreateClass()
|
||||
{
|
||||
//mClassViewPanel.[Friend]mSearchEdit.mOnSubmit(null);
|
||||
}
|
||||
|
||||
void ShowError(StringView error)
|
||||
{
|
||||
if (mOutputPanel == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue