mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
disable always on top flags
This commit is contained in:
parent
a7b3a85712
commit
0b7cdeee84
1 changed files with 7 additions and 0 deletions
|
|
@ -108,6 +108,13 @@ class TrayPublishWindow(PublisherWindow):
|
|||
def __init__(self, *args, **kwargs):
|
||||
super(TrayPublishWindow, self).__init__(reset_on_show=False)
|
||||
|
||||
flags = self.windowFlags()
|
||||
# Disable always on top hint
|
||||
if flags & QtCore.Qt.WindowStaysOnTopHint:
|
||||
flags ^= QtCore.Qt.WindowStaysOnTopHint
|
||||
|
||||
self.setWindowFlags(flags)
|
||||
|
||||
overlay_widget = StandaloneOverlayWidget(self)
|
||||
|
||||
btns_widget = QtWidgets.QWidget(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue