Skip to content

Commit

Permalink
将报错弹窗改为垂直布局
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Oct 22, 2023
1 parent 2f81101 commit 2382fae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def __onShowLcuConnectError(self, api, obj):
self.tr("LCU request error"),
self.tr(f"Connect API") + f" {api}: {msg}",
duration=5000,
orient=Qt.Vertical,
parent=self,
position=InfoBarPosition.BOTTOM_RIGHT
)
Expand All @@ -240,6 +241,7 @@ def __onCheckUpdateFailed(self):
self.tr(
"Failed to check for updates, possibly unable to connect to Github."),
duration=5000,
orient=Qt.Vertical,
parent=self,
position=InfoBarPosition.BOTTOM_RIGHT
)
Expand Down

0 comments on commit 2382fae

Please sign in to comment.