# HG changeset patch # User koda # Date 1354314978 -3600 # Node ID e226be871b6ef166a98bf0bda87d57552a1a1bc5 # Parent 5da1c26d5b100705c4b3a189c3b70331e2bc4cfe set window modality for new ban dialogs diff -r 5da1c26d5b10 -r e226be871b6e 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()