Skip to content

Commit

Permalink
revert app close
Browse files Browse the repository at this point in the history
  • Loading branch information
tab-cmd committed Oct 20, 2024
1 parent e7a85e5 commit 1475239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bcipy/gui/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def confirm(message: str) -> bool:
message_response=AlertMessageResponse.OCE)
button = dialog.exec()
result = bool(button == AlertResponse.OK.value)
QApplication.instance().quit()
app.quit()
return result
2 changes: 1 addition & 1 deletion bcipy/gui/bciui.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,4 @@ def run_bciui(ui: Type[BCIUI], *args, **kwargs):
app = QApplication(sys.argv)
ui_instance = ui(*args, **kwargs)
ui_instance.display()
app.exec()
return app.exec()

0 comments on commit 1475239

Please sign in to comment.