summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index 6820e49..0e888cb 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -63,7 +63,7 @@ void Dialog::on_treeView_activated(QModelIndex index) {
writePVSSettings();
}
writeSessionName(s->shortDescription());
- close();
+ setVisible(false);
} else {
QMessageBox::warning(
this, trUtf8("vmchooser"),