Skip to content

Commit c9b2bfd

Browse files
committed
toggle_changes_first() -> _toggle_changes_first()
1 parent 6ee553c commit c9b2bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

picard/ui/metadatabox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def __init__(self, parent):
239239
self.changes_first_action = QtGui.QAction(_("Show Changes First"), self)
240240
self.changes_first_action.setCheckable(True)
241241
self.changes_first_action.setChecked(config.persist['show_changes_first'])
242-
self.changes_first_action.toggled.connect(self.toggle_changes_first)
242+
self.changes_first_action.toggled.connect(self._toggle_changes_first)
243243
# TR: Keyboard shortcut for "Add New Tag…"
244244
self.add_tag_shortcut = QtGui.QShortcut(QtGui.QKeySequence(_("Alt+Shift+A")), self, partial(self._edit_tag, ""))
245245
self.add_tag_action.setShortcut(self.add_tag_shortcut.key())
@@ -463,7 +463,7 @@ def _edit_selected_tag(self):
463463
if len(tags) == 1:
464464
self._edit_tag(tags[0])
465465

466-
def toggle_changes_first(self, checked):
466+
def _toggle_changes_first(self, checked):
467467
config = get_config()
468468
config.persist['show_changes_first'] = checked
469469
self.update()

0 commit comments

Comments
 (0)