Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
open browser if help clicked on @present_exceptions()
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalkolar committed Mar 14, 2021
1 parent 92326d7 commit f737f8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mesmerize/common/qdialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from . import get_project_manager, is_app
from typing import *
from logging import getLogger
from webbrowser import open_new_tab


"""
Expand Down Expand Up @@ -62,7 +63,10 @@ def fn(self, *args, **kwargs):
QMessageBox.Ok | QMessageBox.Help
)

mb.exec_()
if mb.exec_() == QMessageBox.Help:
open_new_tab('http://docs.mesmerizelab.org/en/master/getting_help.html')



getLogger().info(
f"{e.__class__.__name__}: {e}\n"
Expand Down

0 comments on commit f737f8b

Please sign in to comment.