mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1275394 [tweak for naming in Editor checkpoints](https://bugs.launchpad.net/calibre/+bug/1275394)
This commit is contained in:
parent
1f1c75d645
commit
09c02b446c
@ -55,7 +55,7 @@ class GlobalUndoHistory(QAbstractListModel):
|
|||||||
def label_for_row(self, row):
|
def label_for_row(self, row):
|
||||||
msg = self.states[row].message
|
msg = self.states[row].message
|
||||||
if self.pos == row:
|
if self.pos == row:
|
||||||
msg = _('Current state')
|
msg = _('Current state') if not msg else _('%s [Current]') % msg
|
||||||
elif not msg:
|
elif not msg:
|
||||||
msg = _('[Unnamed state]')
|
msg = _('[Unnamed state]')
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user