diff options
Diffstat (limited to 'client')
-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(); |