Fix windows being brought back to life after the settings dialog was closed (#2613)
Fixed with the help of @jammehcow
This commit is contained in:
@@ -244,7 +244,10 @@ void BaseWindow::init()
|
||||
getSettings()->windowTopMost.connect(
|
||||
[this](bool topMost, auto) {
|
||||
this->setWindowFlag(Qt::WindowStaysOnTopHint, topMost);
|
||||
this->show();
|
||||
if (this->isVisible())
|
||||
{
|
||||
this->show();
|
||||
}
|
||||
},
|
||||
this->managedConnections_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user