mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:22:45 +02:00
...
This commit is contained in:
parent
924df568c9
commit
63ba84eed1
1 changed files with 2 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ def remove(self):
|
|||
if idx.isValid():
|
||||
self.model.remove((idx.row(),))
|
||||
self.select_row()
|
||||
if self.model.rowCount() == 0:
|
||||
self.stacks.setCurrentIndex(0)
|
||||
|
||||
def has_title(self, title):
|
||||
return self.model.has_title(title)
|
||||
|
|
|
|||
Loading…
Reference in a new issue