mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
prevend from saving changes if host is invalid
This commit is contained in:
parent
88ec21b257
commit
da17d312ac
1 changed files with 2 additions and 1 deletions
|
|
@ -600,7 +600,8 @@ class PublisherController:
|
|||
self._reset_instances()
|
||||
|
||||
def save_changes(self):
|
||||
self.create_context.save_changes()
|
||||
if self.create_context.host_is_valid:
|
||||
self.create_context.save_changes()
|
||||
|
||||
def remove_instances(self, instances):
|
||||
# QUESTION Expect that instaces are really removed? In that case save
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue