This commit is contained in:
Kovid Goyal
2021-01-21 20:43:52 +05:30
parent 2b8ed93987
commit 8f38ba50e1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
self.template_value.setText(
SafeFormat().safe_format(cur_text, self.mi, _('EXCEPTION: '),
self.mi, global_vars=self.global_vars,
template_functions= self.all_functions))
template_functions=self.all_functions))
def text_cursor_changed(self):
cursor = self.textbox.textCursor()
@@ -10,4 +10,4 @@ from PyQt5.Qt import (QBoxLayout)
class BoxLayout(QBoxLayout):
def __init__(self):
QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom)
QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom)