summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-07-07 14:10:18 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-07-12 10:16:47 (GMT)
commit7eb404999bb9a522b260f97d624d0f6e524b1bad (patch)
tree9866ba6af41bb7a666481cf2e49caf428b24e2a9 /Swift
parentee22c7cde330254cd97adb9ce818b80d3b6bbbd8 (diff)
downloadswift-7eb404999bb9a522b260f97d624d0f6e524b1bad.zip
swift-7eb404999bb9a522b260f97d624d0f6e524b1bad.tar.bz2
Bring background enter room dialog to front if it exists
This is the same approach taken by the vCard dialog. Test-Information: Previously the open 'Enter Room…' dialog would stay in background when selecting the 'Enter Room…' menu item. Now it will be raised to top. Tested on OS X 10.11.5 and Qt 5.5.1. Change-Id: I8ef78ceea328206306d25085feeb3f5b039821d9
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtJoinMUCWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtJoinMUCWindow.cpp b/Swift/QtUI/QtJoinMUCWindow.cpp
index ec2028c..400d1bf 100644
--- a/Swift/QtUI/QtJoinMUCWindow.cpp
+++ b/Swift/QtUI/QtJoinMUCWindow.cpp
@@ -69,6 +69,7 @@ void QtJoinMUCWindow::setMUC(const std::string& nick) {
void QtJoinMUCWindow::show() {
QWidget::show();
QWidget::activateWindow();
+ QWidget::raise();
ui.password->setText("");
}