mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #1924824 [startup error affecting find duplicates action](https://bugs.launchpad.net/calibre/+bug/1924824)
This commit is contained in:
parent
1518ee3c83
commit
8c30eba87c
@ -153,6 +153,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
ac = action.load_actual_plugin(self)
|
||||
ac.plugin_path = action.plugin_path
|
||||
ac.interface_action_base_plugin = action
|
||||
ac.installation_type = action.installation_type
|
||||
action.actual_iaction_plugin_loaded = True
|
||||
return ac
|
||||
|
||||
@ -186,6 +187,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
def init_istore(self, store):
|
||||
st = store.load_actual_plugin(self)
|
||||
st.plugin_path = store.plugin_path
|
||||
st.installation_type = store.installation_type
|
||||
st.base_plugin = store
|
||||
store.actual_istore_plugin_loaded = True
|
||||
return st
|
||||
|
Loading…
x
Reference in New Issue
Block a user