:fullscreen, enter video fullscreen, :fullscreen, exit video fullscreen should not go into video fullscreen
This commit is contained in:
parent
361251bf53
commit
d179450c29
@ -488,7 +488,7 @@ class MainWindow(QWidget):
|
|||||||
if on:
|
if on:
|
||||||
self.state_before_fullscreen = self.windowState()
|
self.state_before_fullscreen = self.windowState()
|
||||||
self.showFullScreen()
|
self.showFullScreen()
|
||||||
else:
|
elif self.isFullScreen():
|
||||||
self.setWindowState(self.state_before_fullscreen)
|
self.setWindowState(self.state_before_fullscreen)
|
||||||
log.misc.debug('on: {}, state before fullscreen: {}'.format(
|
log.misc.debug('on: {}, state before fullscreen: {}'.format(
|
||||||
on, debug.qflags_key(Qt, self.state_before_fullscreen)))
|
on, debug.qflags_key(Qt, self.state_before_fullscreen)))
|
||||||
|
Loading…
Reference in New Issue
Block a user