Skip to content

Commit 0d57e5c

Browse files
Update localization_manager.py
Adapt to new /models
1 parent b9accc0 commit 0d57e5c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

annotation_tool/controllers/localization/localization_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from utils import natural_sort_key
99
from models import CmdType
10-
# Assuming ProjectTreeModel is accessible via main_window or imports if needed for type hinting
1110

1211
class LocalizationManager:
1312
"""
@@ -37,8 +36,7 @@ def setup_connections(self):
3736
pc.saveRequested.connect(self._on_save_clicked)
3837
pc.exportRequested.connect(self._on_export_clicked)
3938

40-
# [MV Fix] Tree Interactions
41-
# QTreeView does not have currentItemChanged. We must use the selection model.
39+
# Tree Interactions
4240
self.left_panel.tree.selectionModel().currentChanged.connect(self.on_clip_selected)
4341

4442
# Right Click Context Menu

0 commit comments

Comments
 (0)