Permalink
Browse files

ide/GlobalSettingsDialog: Fixed 'ok' button asking for confirmation t…

…o discard changes
  • Loading branch information...
1 parent dde1061 commit fa50a429e70927a92263bb4226bfd202ae97a284 @jerstlouis jerstlouis committed Aug 9, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 ide/src/dialogs/GlobalSettingsDialog.ec
@@ -128,6 +128,11 @@ class GlobalSettingsDialog : Window
OnGlobalSettingChange(GlobalSettingsChange::editorSettings);
if(projectOptionsChanged)
OnGlobalSettingChange(GlobalSettingsChange::projectOptions);
+
+ editorTab.modifiedDocument = false;
+ compilersTab.modifiedDocument = false;
+ projectOptionsTab.modifiedDocument = false;
+ workspaceOptionsTab.modifiedDocument = false;
}
Destroy(DialogResult::ok);

0 comments on commit fa50a42

Please sign in to comment.