Skip to content

Commit

Permalink
Always try to install on show
Browse files Browse the repository at this point in the history
This fixes the bug that QML only install eventFilter once on first run
  • Loading branch information
davidlatwe committed Feb 16, 2019
1 parent 6da94d6 commit e4dacaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyblish_qml/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def show(parent=None, targets=[], modal=None):
modal = bool(os.environ.get("PYBLISH_QML_MODAL", False))

# Automatically install if not already installed.
if not _state.get("installed"):
install(modal)
install(modal)

# Show existing GUI
if _state.get("currentServer"):
Expand Down

0 comments on commit e4dacaa

Please sign in to comment.