mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Make it clear that disabling plugins is prevented by policy
This commit is contained in:
parent
6db94c833f
commit
e5a8f45879
@ -338,7 +338,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
if op == 'toggle':
|
||||
if not plugin.can_be_disabled:
|
||||
error_dialog(self,_('Plugin cannot be disabled'),
|
||||
_('The plugin: %s cannot be disabled')%plugin.name).exec_()
|
||||
_('Disabling the plugin %s is not allowed')%plugin.name).exec_()
|
||||
return
|
||||
if is_disabled(plugin):
|
||||
enable_plugin(plugin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user