Explorar el Código

- small change

Marius Stanciu hace 6 años
padre
commit
70bcd7a448
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      FlatCAMApp.py

+ 2 - 2
FlatCAMApp.py

@@ -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()