Skip to content

Commit

Permalink
ENH: Add utilities.shortcuts and initial shortcut to launch Connectio…
Browse files Browse the repository at this point in the history
…nInspector.
  • Loading branch information
Hugo Slepicka committed Apr 28, 2020
1 parent e7d7f4b commit 7129162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pydm/utilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from .iconfont import IconFont
from ..qtdesigner import DesignerHooks

from . import shortcuts

logger = logging.getLogger(__name__)

Expand Down
3 changes: 3 additions & 0 deletions pydm_launcher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ def main():
stylesheet_path=pydm_args.stylesheet
)

pydm.utilities.shortcuts.install_connection_inspector(
parent=app.main_window)

sys.exit(app.exec_())


Expand Down

0 comments on commit 7129162

Please sign in to comment.