set window modality for new ban dialogs
authorkoda
Fri, 30 Nov 2012 23:36:18 +0100
changeset 8159 e226be871b6e
parent 8158 5da1c26d5b10
child 8160 f837447298c3
child 8161 0b8beacff8a5
child 8162 b97a17bf89ec
set window modality for new ban dialogs
QTfrontend/ui/dialog/bandialog.cpp
--- a/QTfrontend/ui/dialog/bandialog.cpp	Sat Dec 01 00:44:12 2012 +0400
+++ b/QTfrontend/ui/dialog/bandialog.cpp	Fri Nov 30 23:36:18 2012 +0100
@@ -51,6 +51,8 @@
 
     connect(btnOk, SIGNAL(clicked()), this, SLOT(okClicked()));
     connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject()));
+
+    this->setWindowModality(Qt::WindowModal);
 }
 
 bool BanDialog::byIP()