summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-03-05 08:42:38 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-05 08:42:38 (GMT)
commitfe24fd560ec2302306857a52a07155c93f5dde69 (patch)
tree4e65d0c2df31550c204d76ce4a5e544098c27f47 /Swift
parent32ff425c455a489adf7f5fa3ac876b63cbd0796b (diff)
downloadswift-fe24fd560ec2302306857a52a07155c93f5dde69.zip
swift-fe24fd560ec2302306857a52a07155c93f5dde69.tar.bz2
Close adhoc window after cancelling.
Resolves: #955
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtAdHocCommandWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtAdHocCommandWindow.cpp b/Swift/QtUI/QtAdHocCommandWindow.cpp
index 221d1f5..f8a3cd6 100644
--- a/Swift/QtUI/QtAdHocCommandWindow.cpp
+++ b/Swift/QtUI/QtAdHocCommandWindow.cpp
@@ -62,6 +62,7 @@ QtAdHocCommandWindow::~QtAdHocCommandWindow() {
void QtAdHocCommandWindow::handleCancelClicked() {
command_->cancel();
+ close();
}
void QtAdHocCommandWindow::handlePrevClicked() {