This commit is contained in:
Martin Rotter 2021-04-09 06:21:15 +02:00
parent 265f10e499
commit a36099b2b3
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<url type="donation">https://martinrotter.github.io/donate/</url>
<content_rating type="oars-1.1" />
<releases>
<release version="3.9.1" date="2021-04-06"/>
<release version="3.9.1" date="2021-04-09"/>
</releases>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>

View File

@ -464,7 +464,7 @@ void FormMain::switchVisibility(bool force_hide) {
void FormMain::display() {
// Make sure window is not minimized.
showNormal();
setWindowState((windowState() & ~Qt::WindowState::WindowMinimized) | Qt::WindowState::WindowActive);
// Display the window and make sure it is raised on top.
show();