View Single Post
Old 02-28-2013, 05:21 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,409
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You should be instantiating a new config widget every tim config_widget() is called on your plugin. If you want to re-use an existing config_widget then you have to manually re-initialize it. calibre itself, will just call config_widget() blindly everytime it needs to reconfigure. See the do_user_config() method in customize/__init__.py
kovidgoyal is offline   Reply With Quote