QTfrontend/ui/dialog/bandialog.cpp
changeset 8159 e226be871b6e
parent 8157 695f1eef72c8
child 8177 1fc36c2168c4
--- 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()