Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
deselect project on close
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jan 26, 2024
1 parent 94702cc commit d2ee1b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openpype/tools/ayon_loader/ui/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ def showEvent(self, event):

def closeEvent(self, event):
super(LoaderWindow, self).closeEvent(event)
# Deselect project so current context will be selected
# on next 'showEvent'
self._controller.set_selected_project(None)
self._reset_on_show = True

def keyPressEvent(self, event):
Expand Down

0 comments on commit d2ee1b9

Please sign in to comment.