Skip to content

Commit 02fe77d

Browse files
committed
Fix bug when changing profile
1 parent 658b57c commit 02fe77d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: allzpark/control.py

+4
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,10 @@ def select_profile(self, profile_name, version_name=Latest):
830830
self._models["packages"].reset()
831831
self._models["profileVersions"].setStringList([])
832832

833+
self._state["rezContexts"].clear()
834+
self._state["rezEnvirons"].clear()
835+
self._state["rezApps"].clear()
836+
833837
def on_apps_found(apps):
834838
if not apps:
835839
self._state["error"] = """

0 commit comments

Comments
 (0)