summaryrefslogtreecommitdiff
path: root/client/widgets/button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/button.cc')
-rw-r--r--client/widgets/button.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/widgets/button.cc b/client/widgets/button.cc
index 2eee811..c524084 100644
--- a/client/widgets/button.cc
+++ b/client/widgets/button.cc
@@ -55,6 +55,8 @@ Button::Button(QDomNode &node, MacroWindow *macrowindow)
connect(this, SIGNAL(clicked()), this, SLOT(cancel()));
} else if(elem.attribute("action") == "continue") {
connect(this, SIGNAL(clicked()), this, SLOT(cont()));
+ } else if(elem.attribute("action") == "continue_nocommit") {
+ connect(this, SIGNAL(clicked()), this, SLOT(cont_nocommit()));
}
} else {
setEnabled(false);
@@ -84,3 +86,9 @@ void Button::cont()
emit act_continue(field);
printf("Emit: continue\n");
}
+
+void Button::cont_nocommit()
+{
+ emit act_continue_nocommit(field);
+ printf("Emit: continue_nocommit\n");
+}