Skip to content

Commit

Permalink
Focus error popup when created
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahsoka committed Jul 31, 2021
1 parent b10ab1b commit c3b58fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beskar/popups.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,3 +366,7 @@ def on_close_button_clicked(self):
@QtCore.pyqtSlot(int)
def on_dont_send_crash_button_stateChanged(self, state):
self.sending = not bool(state)

def showEvent(self, show_event: QtGui.QShowEvent) -> None:
self.activateWindow()
super().showEvent(show_event)

0 comments on commit c3b58fd

Please sign in to comment.