Skip to content

Commit 6630fcb

Browse files
committed
feat: auto-focus and open editor on Tab navigation
1 parent 65620a8 commit 6630fcb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PPOCRLabel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,8 @@ def _navigateLabel(self, direction):
13621362
self.labelList.setCurrentRow(next_row)
13631363
self.labelList.scrollToItem(self.labelList.item(next_row))
13641364
self.labelSelectionChanged()
1365-
1365+
self.focusAndZoom() # ← Ctrl+G'nin yaptığı
1366+
self.labelList.activate_edit() # ← F2'nin yaptığı
13661367

13671368
def noShapes(self):
13681369
return not self.itemsToShapes

0 commit comments

Comments
 (0)