Merge pull request #1532

d2ee184 Correctly maximize window (MaxXor)
This commit is contained in:
luigi1111 2018-08-02 17:46:34 -05:00
commit 496332a878
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1630,7 +1630,7 @@ ApplicationWindow {
showMoneroLogo: true showMoneroLogo: true
onCloseClicked: appWindow.close(); onCloseClicked: appWindow.close();
onMaximizeClicked: { onMaximizeClicked: {
appWindow.visibility = appWindow.visibility !== Window.FullScreen ? Window.FullScreen : appWindow.visibility = appWindow.visibility !== Window.Maximized ? Window.Maximized :
Window.Windowed Window.Windowed
} }
onMinimizeClicked: appWindow.visibility = Window.Minimized onMinimizeClicked: appWindow.visibility = Window.Minimized