diff options
author | deva <deva> | 2008-09-10 09:03:48 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-10 09:03:48 +0000 |
commit | 0c366ed6b09c06439f3349b220e803b21e4547b9 (patch) | |
tree | 0c8c241f12c310360e5e23f6f005274ae1055977 /client/widgets/button.cc | |
parent | b1175cefcd9d9e67ee0f9e1b0b91bb8360b510b7 (diff) |
Added continue without commit action to buttons.
Diffstat (limited to 'client/widgets/button.cc')
-rw-r--r-- | client/widgets/button.cc | 8 |
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"); +} |