fix: Update window position to center

Closes: #2930
This commit is contained in:
B.Melnik 2021-07-19 16:03:35 +03:00 committed by Iuri Matias
parent 3470583fd4
commit 5e8e897acc
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ StatusWindow {
Style.changeTheme(globalSettings.theme)
setX(Qt.application.screens[0].width / 2 - width / 2);
setY(Qt.application.screens[0].height / 2 - height / 2);
applicationWindow.updatePosition();
}
signal navigateTo(string path)