mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:03:26 +02:00
Fix #8838 (Plugin configuration dialogs not parented)
This commit is contained in:
parent
fbe65b78bd
commit
34d32fe464
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ def modify_plugin(self, op=''):
|
|||
return error_dialog(self, _('Must restart'),
|
||||
_('You must restart calibre before you can'
|
||||
' configure the <b>%s</b> plugin')%plugin.name, show=True)
|
||||
if plugin.do_user_config():
|
||||
if plugin.do_user_config(self.gui):
|
||||
self._plugin_model.refresh_plugin(plugin)
|
||||
elif op == 'remove':
|
||||
msg = _('Plugin <b>{0}</b> successfully removed').format(plugin.name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue