From 835ae45121ee42404fef031dcea2de64030592c0 Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Sat, 6 Dec 2025 21:40:49 +0200 Subject: [PATCH] Disable editing in format table Set the format table's edit triggers to NoEditTriggers to prevent cell editing and avoid selection box on double-click. --- src/gui/ytsage_gui_format_table.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/ytsage_gui_format_table.py b/src/gui/ytsage_gui_format_table.py index 3e4a38e..48c2c6a 100644 --- a/src/gui/ytsage_gui_format_table.py +++ b/src/gui/ytsage_gui_format_table.py @@ -103,6 +103,9 @@ class FormatTableMixin: # Set selection mode to no selection (since we're using checkboxes) self.format_table.setSelectionMode(QTableWidget.SelectionMode.NoSelection) + + # Disable editing to prevent the selection box on double-click + self.format_table.setEditTriggers(QTableWidget.EditTrigger.NoEditTriggers) self.format_table.setStyleSheet( """