mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Emit changed signal when deleting rule via button
This commit is contained in:
parent
37ad5d3eb9
commit
d1d2e18aaa
@ -133,6 +133,7 @@ class TbIconRulesTab(ConfigTabWidget, Ui_Form):
|
|||||||
item = self.rules_table.item(idx.row(), CATEGORY_COLUMN)
|
item = self.rules_table.item(idx.row(), CATEGORY_COLUMN)
|
||||||
item.is_deleted = True
|
item.is_deleted = True
|
||||||
item.setIcon(QIcon.ic('trash.png'))
|
item.setIcon(QIcon.ic('trash.png'))
|
||||||
|
self.changed_signal.emit()
|
||||||
|
|
||||||
def undo_delete(self):
|
def undo_delete(self):
|
||||||
idx = self.rules_table.currentIndex()
|
idx = self.rules_table.currentIndex()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user