@@ -214,9 +214,14 @@ void BaseWindow::init()
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// if (getSettings()->windowTopMost.getValue()) {
|
// TopMost flag overrides setting
|
||||||
// this->setWindowFlag(Qt::WindowStaysOnTopHint);
|
if (!this->flags_.has(TopMost))
|
||||||
// }
|
{
|
||||||
|
getSettings()->windowTopMost.connect([this](bool topMost, auto) {
|
||||||
|
this->setWindowFlag(Qt::WindowStaysOnTopHint, topMost);
|
||||||
|
this->show();
|
||||||
|
});
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user