call Application.ShowSettingsDialog to minimize code reuse
This commit is contained in:
parent
c826046e50
commit
4cb7b90ce3
@ -1325,12 +1325,7 @@ namespace UniversalEditor.UserInterface
|
||||
|
||||
public bool ShowOptionsDialog()
|
||||
{
|
||||
SettingsDialog dlg = new SettingsDialog();
|
||||
if (dlg.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return Application.ShowSettingsDialog();
|
||||
}
|
||||
|
||||
public void ToggleMenuItemEnabled(string menuItemName, bool enabled)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user