remember allowHTML setting
This commit is contained in:
parent
26ae5e1c47
commit
be7b293b15
@ -69,6 +69,7 @@ class ImportDialog(QDialog):
|
||||
self.connect(self.frm.autoDetect, SIGNAL("clicked()"),
|
||||
self.onDelimiter)
|
||||
self.updateDelimiterButtonText()
|
||||
self.frm.allowHTML.setChecked(self.mw.pm.profile.get('allowHTML', False))
|
||||
self.exec_()
|
||||
|
||||
def setupOptions(self):
|
||||
@ -137,6 +138,7 @@ you can enter it here. Use \\t to represent tab."""),
|
||||
return
|
||||
self.importer.importMode = self.frm.importMode.currentIndex()
|
||||
self.importer.allowHTML = self.frm.allowHTML.isChecked()
|
||||
self.mw.pm.profile['allowHTML'] = self.importer.allowHTML
|
||||
did = self.deck.selectedId()
|
||||
if did != self.importer.model['did']:
|
||||
self.importer.model['did'] = did
|
||||
|
@ -34,7 +34,6 @@ profileConf = dict(
|
||||
mainWindowState=None,
|
||||
numBackups=30,
|
||||
lastOptimize=intTime(),
|
||||
|
||||
# editing
|
||||
fullSearch=False,
|
||||
searchHistory=[],
|
||||
@ -44,11 +43,12 @@ profileConf = dict(
|
||||
# not exposed in gui
|
||||
deleteMedia=False,
|
||||
preserveKeyboard=True,
|
||||
|
||||
# syncing
|
||||
syncKey=None,
|
||||
syncMedia=True,
|
||||
autoSync=True,
|
||||
# importing
|
||||
allowHTML=False,
|
||||
)
|
||||
|
||||
class ProfileManager(object):
|
||||
|
Loading…
Reference in New Issue
Block a user