1
0
Fork 0
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:
Brian Fiete 2021-12-11 10:02:15 -08:00
parent 9210f2f925
commit f17ed3c749

View file

@ -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)