Fix #1188 (When clicking the configuration button the following error occurred)

This commit is contained in:
Kovid Goyal 2008-10-20 11:09:45 -07:00
parent 59ecde1963
commit e3288677e7

View File

@ -27,7 +27,7 @@ class ConfigDialog(QDialog, Ui_Dialog):
self.db = db
self.current_cols = columns
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.compact_button, SIGNAL('clicked(bool)'), self.compact)