forked from openlp/openlp
Fix bug 1395848 by setting the WindowStaysOnTop window flag when the MainDisplay is not on the primary screen.
This commit is contained in:
parent
002d68086a
commit
236dba77e8
@ -164,6 +164,8 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
|
||||
# and menu bar
|
||||
if self.screens.current['primary']:
|
||||
self.setWindowState(QtCore.Qt.WindowFullScreen)
|
||||
else:
|
||||
window_flags |= QtCore.Qt.WindowStaysOnTopHint
|
||||
self.setWindowFlags(window_flags)
|
||||
self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
|
||||
self.set_transparency(False)
|
||||
|
Loading…
Reference in New Issue
Block a user