##// END OF EJS Templates
Call custom control variables when creating the widgets...
Carlos Cordoba -
Show More
@@ -997,7 +997,7 b' class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):'
997 """
997 """
998 # Create the underlying control.
998 # Create the underlying control.
999 if self.custom_control:
999 if self.custom_control:
1000 control = self.custom_control
1000 control = self.custom_control()
1001 elif self.kind == 'plain':
1001 elif self.kind == 'plain':
1002 control = QtGui.QPlainTextEdit()
1002 control = QtGui.QPlainTextEdit()
1003 elif self.kind == 'rich':
1003 elif self.kind == 'rich':
@@ -1036,7 +1036,7 b' class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):'
1036 """ Creates and connects the underlying paging widget.
1036 """ Creates and connects the underlying paging widget.
1037 """
1037 """
1038 if self.custom_page_control:
1038 if self.custom_page_control:
1039 control = self.custom_page_control
1039 control = self.custom_page_control()
1040 elif self.kind == 'plain':
1040 elif self.kind == 'plain':
1041 control = QtGui.QPlainTextEdit()
1041 control = QtGui.QPlainTextEdit()
1042 elif self.kind == 'rich':
1042 elif self.kind == 'rich':
General Comments 0
You need to be logged in to leave comments. Login now