mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
project category widget has ability to retrieve project names
This commit is contained in:
parent
74b6da96ac
commit
e2f24fb87b
1 changed files with 8 additions and 0 deletions
|
|
@ -606,6 +606,14 @@ class ProjectWidget(SettingsCategoryWidget):
|
|||
|
||||
self.project_list_widget = project_list_widget
|
||||
|
||||
def get_project_names(self):
|
||||
if (
|
||||
self.modify_defaults_checkbox
|
||||
and self.modify_defaults_checkbox.isChecked()
|
||||
):
|
||||
return []
|
||||
return self.project_list_widget.get_project_names()
|
||||
|
||||
def on_saved(self, saved_tab_widget):
|
||||
"""Callback on any tab widget save.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue