From e0f23e00f35cb682e4972ad9a354b0cf1908be68 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Thu, 9 Nov 2023 22:58:20 -0800 Subject: [PATCH] diff: rename stage_actions_added to stage_action_added Signed-off-by: David Aguilar --- cola/widgets/diff.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cola/widgets/diff.py b/cola/widgets/diff.py index b147215a..c77d3bc0 100644 --- a/cola/widgets/diff.py +++ b/cola/widgets/diff.py @@ -987,7 +987,7 @@ class DiffEditor(DiffTextEdit): self.action_apply_selection.setText(apply_text) self.action_apply_selection.setIcon(icons.remove()) add_action(self.action_apply_selection) - stage_actions_added = self._add_stage_or_unstage_action( + stage_action_added = self._add_stage_or_unstage_action( menu, add_action, stage_action_added ) @@ -1003,7 +1003,7 @@ class DiffEditor(DiffTextEdit): hotkeys.STAGE_SELECTION, ) add_action(action) - stage_actions_added = self._add_stage_or_unstage_action( + stage_action_added = self._add_stage_or_unstage_action( menu, add_action, stage_action_added ) @@ -1033,7 +1033,7 @@ class DiffEditor(DiffTextEdit): self.action_revert_selection.setText(revert_text) add_action(self.action_revert_selection) - stage_actions_added = self._add_stage_or_unstage_action( + stage_action_added = self._add_stage_or_unstage_action( menu, add_action, stage_action_added ) # Do not show the "edit" action when the file does not exist. @@ -1065,7 +1065,7 @@ class DiffEditor(DiffTextEdit): ) add_action(action) - stage_actions_added = self._add_stage_or_unstage_action( + stage_action_added = self._add_stage_or_unstage_action( menu, add_action, stage_action_added ) -- 2.11.4.GIT