From 2047e38aae273fc2106b864744000e7af60b47c8 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Wed, 21 May 2025 23:28:50 +0200 Subject: [PATCH] Access through the private member --- client/ayon_core/tools/publisher/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/tools/publisher/window.py b/client/ayon_core/tools/publisher/window.py index a967aef21c..4932b578e2 100644 --- a/client/ayon_core/tools/publisher/window.py +++ b/client/ayon_core/tools/publisher/window.py @@ -841,7 +841,7 @@ class PublisherWindow(QtWidgets.QDialog): def _start_publish_preflight(self) -> bool: # Validate comment length - comment_def = self.controller.get_comment_def() + comment_def = self._controller.get_comment_def() if comment_def.minimum_chars_required: char_count = len(self._comment_input.text()) if char_count < comment_def.minimum_chars_required: