summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
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() {