mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Use public method to set private variable
This commit is contained in:
parent
9713852deb
commit
23b0378a0e
2 changed files with 4 additions and 1 deletions
|
|
@ -233,6 +233,9 @@ class PushToContextController:
|
|||
thread.start()
|
||||
return item_ids
|
||||
|
||||
def set_version_up(self, state):
|
||||
self._version_up = state
|
||||
|
||||
def wait_for_process_thread(self):
|
||||
if self._process_thread is None:
|
||||
return
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ class PushToContextSelectWindow(QtWidgets.QWidget):
|
|||
self._invalidate_use_original_names(use_original_name)
|
||||
|
||||
def _on_version_up_checkbox_change(self, state: int) -> None:
|
||||
self._controller._version_up = bool(state)
|
||||
self._controller.set_version_up(bool(state))
|
||||
|
||||
def _on_user_input_timer(self):
|
||||
folder_name_enabled = self._new_folder_name_enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue