mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-06 10:26:50 +01:00
Fix #792
This commit is contained in:
parent
589fa1ef13
commit
ecb18a05ea
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ def edit_profile(self, current, previous):
|
|||
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…
Reference in a new issue