forked from openlp/openlp
cough
This commit is contained in:
parent
2f3a5d1fb2
commit
2b38081b47
@ -173,7 +173,6 @@ class OpenLP(QtGui.QApplication):
|
||||
return False
|
||||
|
||||
def hookException(self, exctype, value, traceback):
|
||||
print ''.join(format_exception(exctype, value, traceback))
|
||||
if not hasattr(self, u'mainWindow'):
|
||||
log.exception(''.join(format_exception(exctype, value, traceback)))
|
||||
return
|
||||
|
@ -276,14 +276,9 @@ class OpenLPWizard(QtGui.QWizard):
|
||||
``setting_name``
|
||||
The place where to save the last opened directory.
|
||||
"""
|
||||
print setting_name
|
||||
print u'asdf', Settings().value(self.plugin.settingsSection + u'/' + setting_name)
|
||||
|
||||
folder = QtGui.QFileDialog.getExistingDirectory(self, title,
|
||||
Settings().value(self.plugin.settingsSection + u'/' + setting_name),
|
||||
QtGui.QFileDialog.ShowDirsOnly)
|
||||
print os.path.dirname(Settings().value(self.plugin.settingsSection + u'/' + setting_name))
|
||||
if folder:
|
||||
editbox.setText(folder)
|
||||
print folder
|
||||
editbox.setText(folder
|
||||
Settings().setValue(self.plugin.settingsSection + u'/' + setting_name, folder)
|
||||
|
Loading…
Reference in New Issue
Block a user