diff --git a/beskar/popups.py b/beskar/popups.py index 87dee8a..214083c 100644 --- a/beskar/popups.py +++ b/beskar/popups.py @@ -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)