On Linux, when selecting Show Bitmessage, do not maximize automatically
This commit is contained in:
parent
9e0b1d3147
commit
7a271dccdd
|
@ -446,12 +446,10 @@ class MyForm(QtGui.QMainWindow):
|
||||||
else:
|
else:
|
||||||
if sys.platform[0:3] == 'win':
|
if sys.platform[0:3] == 'win':
|
||||||
self.setWindowFlags(Qt.Window)
|
self.setWindowFlags(Qt.Window)
|
||||||
|
#else:
|
||||||
|
#self.showMaximized()
|
||||||
self.show()
|
self.show()
|
||||||
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
||||||
else:
|
|
||||||
self.showMaximized()
|
|
||||||
#Here is what I believe might be required for darwin:
|
|
||||||
#self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
|
||||||
self.activateWindow()
|
self.activateWindow()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user