mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #1910883 [can't automatically scroll down the list of icon rules](https://bugs.launchpad.net/calibre/+bug/1910883)
This commit is contained in:
parent
1c12b0efe6
commit
c86bcede66
@ -891,6 +891,7 @@ class RulesView(QListView): # {{{
|
|||||||
if self.model() and new.isValid():
|
if self.model() and new.isValid():
|
||||||
_, _, rule = self.model().data(new, Qt.ItemDataRole.UserRole)
|
_, _, rule = self.model().data(new, Qt.ItemDataRole.UserRole)
|
||||||
self.enable_convert_buttons_function(isinstance(rule, Rule))
|
self.enable_convert_buttons_function(isinstance(rule, Rule))
|
||||||
|
return super().currentChanged(new, prev)
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user