ui: fixed raising Sourcetrail window if token is activated from IDE on Windows

This commit is contained in:
mlangkabel
2018-08-28 16:40:00 +02:00
parent 8e6d5e6010
commit 5c6e9afe06
+1
View File
@@ -138,6 +138,7 @@ void QtMainView::activateWindow()
[=]()
{
// It's platform dependent which of these commands does the right thing, for now we just use them all at once.
m_window->activateWindow();
m_window->setEnabled(true);
m_window->raise();
m_window->setFocus(Qt::ActiveWindowFocusReason);