summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc
index 00eb1ed..bbfab8e 100644
--- a/client/macrowindow.cc
+++ b/client/macrowindow.cc
@@ -165,6 +165,8 @@ void MacroWindow::initMacro(QDomNode &node)
bool MacroWindow::doCommit()
{
+ if(mainwidget->committable(true) == false) return false;
+
if(mainwidget->valid()) {
QVector< Widget* > wlist;