ui: implemented restoring minimized Sourcetrail window if token is activated from IDE on Windows
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user