mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
use defined constant for default project label
This commit is contained in:
parent
2fdac8639a
commit
c08b4673fd
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ from openpype.tools.settings import CHILD_OFFSET
|
|||
|
||||
from .widgets import ExpandingWidget
|
||||
from .lib import create_deffered_value_change_timer
|
||||
from .constants import DEFAULT_PROJECT_LABEL
|
||||
|
||||
|
||||
class BaseWidget(QtWidgets.QWidget):
|
||||
|
|
@ -304,7 +305,7 @@ class BaseWidget(QtWidgets.QWidget):
|
|||
continue
|
||||
|
||||
if project_name is None:
|
||||
project_name = "< Default >"
|
||||
project_name = DEFAULT_PROJECT_LABEL
|
||||
|
||||
action = QtWidgets.QAction(project_name)
|
||||
submenu.addAction(action)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue