mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1188 (When clicking the configuration button the following error occurred)
This commit is contained in:
parent
59ecde1963
commit
e3288677e7
@ -27,7 +27,7 @@ class ConfigDialog(QDialog, Ui_Dialog):
|
|||||||
self.db = db
|
self.db = db
|
||||||
self.current_cols = columns
|
self.current_cols = columns
|
||||||
path = prefs['library_path']
|
path = prefs['library_path']
|
||||||
self.location.setText(path)
|
self.location.setText(path if path else '')
|
||||||
self.connect(self.browse_button, SIGNAL('clicked(bool)'), self.browse)
|
self.connect(self.browse_button, SIGNAL('clicked(bool)'), self.browse)
|
||||||
self.connect(self.compact_button, SIGNAL('clicked(bool)'), self.compact)
|
self.connect(self.compact_button, SIGNAL('clicked(bool)'), self.compact)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user