summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-05-26 10:18:20 (GMT)
committerTobias Markmann <tm@ayena.de>2016-05-26 10:18:20 (GMT)
commita8caa2699330277b7b4aa69bfb4d3d2a08e71488 (patch)
treef64939bfd3afd8e8646897bb9123f3fd7242eb11
parent606e6090fcefb82a21a2d73b75af96ee77734207 (diff)
downloadswift-a8caa2699330277b7b4aa69bfb4d3d2a08e71488.zip
swift-a8caa2699330277b7b4aa69bfb4d3d2a08e71488.tar.bz2
Bring existing dialog to front on open of "Start Chat…" dialog
Test-Information: Tested on OS X 10.11.5 with Qt 5.4.2. Change-Id: Ic751fec01cfe6417bb5db17364f5eb69a2037895
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index b9c0cb1..ebf05b7 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -314,6 +314,7 @@ void QtUserSearchWindow::show() {
setWarning(boost::optional<std::string>());
}
QWidget::show();
+ raise();
}
void QtUserSearchWindow::addSavedServices(const std::vector<JID>& services) {