From e1f38077bbf2460fd608f150e41faaf33564e0b8 Mon Sep 17 00:00:00 2001 From: Rinaldus Date: Sun, 6 Mar 2016 15:02:33 +0300 Subject: [PATCH] sorted window flags --- photoframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photoframe.py b/photoframe.py index e6a69bb..c2f00be 100755 --- a/photoframe.py +++ b/photoframe.py @@ -61,7 +61,7 @@ class Window(QDialog): self.ui = Ui_PhotoFrame() self.ui.setupUi(self) - self.setWindowFlags(MainWindowType | Qt.WindowStaysOnBottomHint | Qt.FramelessWindowHint) + self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint) self.locked = True self.resize(SizeX, SizeY) self.move(PosX,PosY)