Skip to content

Commit 02d191d

Browse files
committed
toggle_changes_first() -> _toggle_changes_first()
1 parent a106bc9 commit 02d191d

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
@@ -240,7 +240,7 @@ def __init__(self, parent):
240240
self.changes_first_action = QtGui.QAction(_("Show Changes First"), self)
241241
self.changes_first_action.setCheckable(True)
242242
self.changes_first_action.setChecked(config.persist['show_changes_first'])
243-
self.changes_first_action.toggled.connect(self.toggle_changes_first)
243+
self.changes_first_action.toggled.connect(self._toggle_changes_first)
244244
# TR: Keyboard shortcut for "Add New Tag…"
245245
self.add_tag_shortcut = QtGui.QShortcut(QtGui.QKeySequence(_("Alt+Shift+A")), self, partial(self._edit_tag, ""))
246246
self.add_tag_action.setShortcut(self.add_tag_shortcut.key())
@@ -465,7 +465,7 @@ def _edit_selected_tag(self):
465465
if len(tags) == 1:
466466
self._edit_tag(tags[0])
467467

468-
def toggle_changes_first(self, checked):
468+
def _toggle_changes_first(self, checked):
469469
config = get_config()
470470
config.persist['show_changes_first'] = checked
471471
self.update()

0 commit comments

Comments
 (0)