mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
58ef982a02
commit
bc926b392d
@ -101,7 +101,10 @@ class Check(QSplitter):
|
|||||||
i = self.items.currentItem()
|
i = self.items.currentItem()
|
||||||
if i is not None:
|
if i is not None:
|
||||||
err = i.data(Qt.UserRole).toPyObject()
|
err = i.data(Qt.UserRole).toPyObject()
|
||||||
self.item_activated.emit(err)
|
if err.has_multiple_locations:
|
||||||
|
self.location_activated(0)
|
||||||
|
else:
|
||||||
|
self.item_activated.emit(err)
|
||||||
|
|
||||||
def location_activated(self, index):
|
def location_activated(self, index):
|
||||||
i = self.items.currentItem()
|
i = self.items.currentItem()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user