Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close on save #547

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Close on save
  • Loading branch information
tokejepsen authored May 5, 2020
commit 59cd5ea94e2726d1617e626e5fc1d7979bd4a138
3 changes: 1 addition & 2 deletions avalon/tools/workfiles/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,7 @@ def on_save_as_pressed(self):

self._enter_session() # Make sure we are in the right session
self.host.save_file(file_path)
self.set_asset_task(self._asset, self._task)
self.refresh()
self.window().close()

def initialize_work_directory(self):
"""Initialize Work Directory.
Expand Down