Skip to content

Commit

Permalink
cmds: update the selected filename when running rebase commands
Browse files Browse the repository at this point in the history
The selected filename can be cleared. Emit a notification so that the
diff editor can update it filename display.

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Apr 9, 2024
1 parent 7e3e843 commit 8b2aebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cola/cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -2173,6 +2173,7 @@ def do(self):
self.model.update_status(update_index=True)
self.cfg.update()
self.fsmonitor.refresh()
self.selection.selection_changed.emit()


class RefreshConfig(ContextCommand):
Expand Down

0 comments on commit 8b2aebe

Please sign in to comment.