fix #395
This commit is contained in:
parent
265f10e499
commit
a36099b2b3
|
@ -30,7 +30,7 @@
|
||||||
<url type="donation">https://martinrotter.github.io/donate/</url>
|
<url type="donation">https://martinrotter.github.io/donate/</url>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="3.9.1" date="2021-04-06"/>
|
<release version="3.9.1" date="2021-04-09"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||||
|
|
|
@ -464,7 +464,7 @@ void FormMain::switchVisibility(bool force_hide) {
|
||||||
|
|
||||||
void FormMain::display() {
|
void FormMain::display() {
|
||||||
// Make sure window is not minimized.
|
// 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.
|
// Display the window and make sure it is raised on top.
|
||||||
show();
|
show();
|
||||||
|
|
Loading…
Reference in New Issue