mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #7963 from nextcloud/backport/7961/stable-3.16
[stable-3.16] Revert "gui: do not allow MainWindow to be resized"
This commit is contained in:
commit
a3bc8519b4
@ -43,16 +43,7 @@ ApplicationWindow {
|
||||
|
||||
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth
|
||||
|
||||
Component.onCompleted: {
|
||||
Systray.forceWindowInit(trayWindow)
|
||||
if (Systray.useNormalWindow) {
|
||||
return;
|
||||
}
|
||||
|
||||
// do not allow this window to be resized when it's frameless
|
||||
this.minimumWidth = this.maximumWidth = this.width
|
||||
this.minimumHeight = this.maximumHeight = this.height
|
||||
}
|
||||
Component.onCompleted: Systray.forceWindowInit(trayWindow)
|
||||
|
||||
// Close tray window when focus is lost (e.g. click somewhere else on the screen)
|
||||
onActiveChanged: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user