mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-22 22:23:42 +02:00
Fix regression in bulk edit that broke the clear buttons
This commit is contained in:
parent
6ff72bbcae
commit
dac8393c80
1 changed files with 2 additions and 2 deletions
|
|
@ -350,13 +350,13 @@ def do_apply_pubdate(self, *args):
|
|||
self.apply_pubdate.setChecked(True)
|
||||
|
||||
def clear_pubdate(self, *args):
|
||||
self.pubdate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.pubdate.setDateTime(UNDEFINED_QDATETIME)
|
||||
|
||||
def do_apply_adddate(self, *args):
|
||||
self.apply_adddate.setChecked(True)
|
||||
|
||||
def clear_adddate(self, *args):
|
||||
self.adddate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.adddate.setDateTime(UNDEFINED_QDATETIME)
|
||||
|
||||
def button_clicked(self, which):
|
||||
if which == self.button_box.button(QDialogButtonBox.Apply):
|
||||
|
|
|
|||
Loading…
Reference in a new issue