mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit metadata dialog: Fix the edit values button for custom tag-like columns showing a uneeded warning about changed values
This commit is contained in:
parent
0e720a8486
commit
b4684cc1c2
@ -349,7 +349,8 @@ class Text(Base):
|
||||
return d.exec_()
|
||||
|
||||
def edit(self):
|
||||
if self.getter() != self.initial_val:
|
||||
if (self.getter() != self.initial_val and (self.getter() or
|
||||
self.initial_val)):
|
||||
d = self._save_dialog(self.parent, _('Values changed'),
|
||||
_('You have changed the values. In order to use this '
|
||||
'editor, you must either discard or apply these '
|
||||
|
Loading…
x
Reference in New Issue
Block a user