diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-03-05 08:42:38 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-05 08:42:38 (GMT) |
commit | fe24fd560ec2302306857a52a07155c93f5dde69 (patch) | |
tree | 4e65d0c2df31550c204d76ce4a5e544098c27f47 | |
parent | 32ff425c455a489adf7f5fa3ac876b63cbd0796b (diff) | |
download | swift-fe24fd560ec2302306857a52a07155c93f5dde69.zip swift-fe24fd560ec2302306857a52a07155c93f5dde69.tar.bz2 |
Close adhoc window after cancelling.
Resolves: #955
-rw-r--r-- | Swift/QtUI/QtAdHocCommandWindow.cpp | 1 |
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() { |