mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #8838 (Plugin configuration dialogs not parented)
This commit is contained in:
parent
fbe65b78bd
commit
34d32fe464
@ -329,7 +329,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
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…
x
Reference in New Issue
Block a user