ui: implemented restoring minimized Sourcetrail window if token is activated from IDE on Windows

This commit is contained in:
mlangkabel
2018-08-28 16:50:21 +02:00
parent 5c6e9afe06
commit 4afd1b3fef
+1
View File
@@ -142,6 +142,7 @@ void QtMainView::activateWindow()
m_window->setEnabled(true); m_window->setEnabled(true);
m_window->raise(); m_window->raise();
m_window->setFocus(Qt::ActiveWindowFocusReason); m_window->setFocus(Qt::ActiveWindowFocusReason);
m_window->setWindowState(m_window->windowState() & ~Qt::WindowMinimized);
} }
); );
} }