1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-02 21:26:24 +01:00

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
onCloseClicked: appWindow.close();
onMaximizeClicked: {
appWindow.visibility = appWindow.visibility !== Window.FullScreen ? Window.FullScreen :
appWindow.visibility = appWindow.visibility !== Window.Maximized ? Window.Maximized :
Window.Windowed
}
onMinimizeClicked: appWindow.visibility = Window.Minimized