mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
924df568c9
commit
63ba84eed1
@ -231,6 +231,8 @@ class RecipeList(QWidget): # {{{
|
|||||||
if idx.isValid():
|
if idx.isValid():
|
||||||
self.model.remove((idx.row(),))
|
self.model.remove((idx.row(),))
|
||||||
self.select_row()
|
self.select_row()
|
||||||
|
if self.model.rowCount() == 0:
|
||||||
|
self.stacks.setCurrentIndex(0)
|
||||||
|
|
||||||
def has_title(self, title):
|
def has_title(self, title):
|
||||||
return self.model.has_title(title)
|
return self.model.has_title(title)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user