mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1832780 [Error when changing libraries](https://bugs.launchpad.net/calibre/+bug/1832780)
This commit is contained in:
parent
408990ffd8
commit
5a4ca12432
@ -390,7 +390,11 @@ if isosx:
|
||||
self.clone_menu()
|
||||
|
||||
def about_to_show(self):
|
||||
if sip.isdeleted(self.clone):
|
||||
return
|
||||
cm = self.clone.menu()
|
||||
if cm is None:
|
||||
return
|
||||
before = list(QMenu.actions(cm))
|
||||
cm.aboutToShow.emit()
|
||||
after = list(QMenu.actions(cm))
|
||||
|
Loading…
x
Reference in New Issue
Block a user