Skip to content

Commit

Permalink
open main window when erroring or updating from systray
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Aug 27, 2022
1 parent f07840c commit 5ae9617
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/qml/CSLOLDialogError.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Dialog {
let scrollbar = logTextScroll.ScrollBar;
scrollbar.horizontal.position = 0
scrollbar.vertical.setPosition(1.0 - scrollbar.vertical.size)
window.show()
}

ColumnLayout {
Expand Down
1 change: 1 addition & 0 deletions src/qml/CSLOLDialogErrorUser.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Dialog {
Overlay.modal: Rectangle {
color: "#aa333333"
}
onOpened: window.show()

property alias text: warningTextLabel.text

Expand Down
1 change: 1 addition & 0 deletions src/qml/CSLOLDialogUpdate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Dialog {
Overlay.modal: Rectangle {
color: "#aa333333"
}
onOpened: window.show()

property string update_url: "https://github.com/LoL-Fantome/cslol-manager/releases/latest"

Expand Down

0 comments on commit 5ae9617

Please sign in to comment.