Quote:
Originally Posted by ownedbycats
Code:
from calibre_plugins.action_chains.actions.base import ChainAction
class RefreshAction(ChainAction):
name = 'Refresh GUI'
def run(self, gui, settings, chain):
gui.current_db.data.refresh()
gui.library_view.model().resort()
This works!
|
Good. As I think you surmised the problem is happening because in your library the value of a composite column can change depending which virtual library is selected. I suspect that you are the only calibre user that does that.

Virtual libraries are internally treated as searches, and calibre expects that a search can't change the value of a field. Unfortunately in your case that expectation is wrong.