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)
|
||||||
self.show()
|
#else:
|
||||||
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
#self.showMaximized()
|
||||||
else:
|
self.show()
|
||||||
self.showMaximized()
|
self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
||||||
#Here is what I believe might be required for darwin:
|
|
||||||
#self.setWindowState(self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
|
|
||||||
self.activateWindow()
|
self.activateWindow()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user