Fix #1692329 [Plugin left in toolbar after it has been deleted](https://bugs.launchpad.net/calibre/+bug/1692329)

This commit is contained in:
Kovid Goyal 2017-05-26 22:44:46 +05:30
parent b09912da39
commit 936be3de20
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -377,7 +377,8 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
'confirm_plugin_removal_msg', parent=self): 'confirm_plugin_removal_msg', parent=self):
return return
msg = _('Plugin <b>{0}</b> successfully removed').format(plugin.name) msg = _('Plugin <b>{0}</b> successfully removed. You will have'
' to restart calibre for it to be completely removed.').format(plugin.name)
if remove_plugin(plugin): if remove_plugin(plugin):
self._plugin_model.beginResetModel() self._plugin_model.beginResetModel()
self._plugin_model.populate() self._plugin_model.populate()