mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
70a2ec517e
commit
882d09b7e0
@ -251,6 +251,7 @@ class ChooseLibrary(Dialog): # {{{
|
|||||||
|
|
||||||
def current_changed(self):
|
def current_changed(self):
|
||||||
i = self.items.currentItem() or self.items.item(0)
|
i = self.items.currentItem() or self.items.item(0)
|
||||||
|
if i is not None:
|
||||||
loc = i.data(Qt.UserRole)
|
loc = i.data(Qt.UserRole)
|
||||||
self.le.setText(loc)
|
self.le.setText(loc)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user