diff options
author | deva <deva> | 2011-02-08 14:07:51 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-08 14:07:51 +0000 |
commit | 35472208a495541f2e5be866e6f55242d34506ba (patch) | |
tree | 4c361543a5bdca5615f6c269a9cbe3be7a726e2d /client/macrowindow.cc | |
parent | 4997e2fb0e41056c797632aef354447062040f66 (diff) |
Remove double message on closing and saving of changed macro.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r-- | client/macrowindow.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc index 37dc6e3..481ee0c 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -267,14 +267,7 @@ void MacroWindow::collapseWrapper() MessageBox::Save | MessageBox::Close | MessageBox::Cancel)) { case MessageBox::Save: - if(doCommit()) { - setCollapsed(true); - } else { - MessageBox::critical(NULL, "Fejl", - "Makroen " + macrotitle + - " er ikke udfyldt korrekt, prøv igen.\n", - MessageBox::Ok); - } + doCommit(); break; case MessageBox::Close: collapse(); |