mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Correctly maximize window
This commit is contained in:
parent
1107daab98
commit
d2ee1845e1
2
main.qml
2
main.qml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user