Correctly maximize window

This commit is contained in:
MaxXor 2018-07-28 08:06:05 -04:00
parent 1107daab98
commit d2ee1845e1

View File

@ -1631,7 +1631,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