projects
/
biaweb_qt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completed the template editing functionality
[biaweb_qt.git]
/
editor_dialog.py
diff --git
a/editor_dialog.py
b/editor_dialog.py
index
9c35a22
..
e19101e
100644
(file)
--- a/
editor_dialog.py
+++ b/
editor_dialog.py
@@
-17,9
+17,9
@@
class EditorDialog (PyQt4.QtGui.QDialog, ui_editor_dialog.Ui_EditorDialog):
self.setWindowTitle ("Editor - " + title)
# set text highlighting
self.setWindowTitle ("Editor - " + title)
# set text highlighting
- highlighter.SimpleHtmlHighlighter (self.te
mplate_te
xt.document ())
+ highlighter.SimpleHtmlHighlighter (self.text.document ())
- self.te
mplate_te
xt.setPlainText (init_text)
+ self.text.setPlainText (init_text)
# set modified flag to false
self.modified = False
# set modified flag to false
self.modified = False