mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #792
This commit is contained in:
parent
589fa1ef13
commit
ecb18a05ea
@ -84,6 +84,7 @@ class UserProfiles(QDialog, Ui_Dialog):
|
||||
self.populate_options(recipe)
|
||||
self.stacks.setCurrentIndex(0)
|
||||
self.toggle_mode_button.setText(_('Switch to Advanced mode'))
|
||||
self.source_code.setPlainText('')
|
||||
else:
|
||||
self.source_code.setPlainText(src)
|
||||
self.highlighter = PythonHighlighter(self.source_code.document())
|
||||
|
Loading…
x
Reference in New Issue
Block a user