Skip to content

Commit

Permalink
Fix bug when changing profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Aug 1, 2019
1 parent 658b57c commit 02fe77d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions allzpark/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,10 @@ def select_profile(self, profile_name, version_name=Latest):
self._models["packages"].reset()
self._models["profileVersions"].setStringList([])

self._state["rezContexts"].clear()
self._state["rezEnvirons"].clear()
self._state["rezApps"].clear()

def on_apps_found(apps):
if not apps:
self._state["error"] = """
Expand Down

0 comments on commit 02fe77d

Please sign in to comment.