- small change

This commit is contained in:
Marius Stanciu 2019-09-23 05:49:31 +03:00 committed by Marius
parent 5f6a7eebf5
commit 70bcd7a448
1 changed files with 2 additions and 2 deletions

View File

@ -5562,7 +5562,7 @@ class App(QtCore.QObject):
if self.toggle_fscreen is False:
# self.ui.showFullScreen()
self.ui.setWindowFlags(self.ui.windowFlags() | Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint)
self.ui.setWindowFlags(self.ui.windowFlags() | Qt.FramelessWindowHint)
a = self.ui.geometry()
self.x_pos = a.x()
self.y_pos = a.y()
@ -5574,7 +5574,7 @@ class App(QtCore.QObject):
self.ui.splitter_left.setVisible(False)
self.toggle_fscreen = True
else:
self.ui.setWindowFlags(self.ui.windowFlags() & ~Qt.WindowStaysOnTopHint & ~Qt.FramelessWindowHint)
self.ui.setWindowFlags(self.ui.windowFlags() & ~Qt.FramelessWindowHint)
self.ui.setGeometry(self.x_pos, self.y_pos, self.width, self.height)
self.ui.showNormal()
self.restore_toolbar_view()