mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
fixed saving of project settings
# Conflicts: # pype/tools/settings/settings/widgets/base.py
This commit is contained in:
parent
3a7cdae35c
commit
fa46b8afd7
1 changed files with 6 additions and 2 deletions
|
|
@ -687,8 +687,12 @@ class ProjectWidget(QtWidgets.QWidget):
|
|||
return
|
||||
|
||||
data = {}
|
||||
studio_overrides = bool(self.project_name is None)
|
||||
for item in self.input_fields:
|
||||
value, _is_group = item.overrides()
|
||||
if studio_overrides:
|
||||
value, is_group = item.studio_overrides()
|
||||
else:
|
||||
value, is_group = item.overrides()
|
||||
if value is not lib.NOT_SET:
|
||||
data.update(value)
|
||||
|
||||
|
|
@ -714,7 +718,7 @@ class ProjectWidget(QtWidgets.QWidget):
|
|||
def _update_values(self):
|
||||
self.ignore_value_changes = True
|
||||
|
||||
default_values = default_values = lib.convert_data_to_gui_data(
|
||||
default_values = lib.convert_data_to_gui_data(
|
||||
{"project": default_settings()}
|
||||
)
|
||||
for input_field in self.input_fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue