##// END OF EJS Templates
Added an 'export_html' method back to the public interface of ConsoleWidget.
epatters -
Show More
@@ -199,7 +199,7 b' class ConsoleWidget(Configurable, QtGui.QWidget):'
199 199
200 200 action = QtGui.QAction('Save as HTML/XML', None)
201 201 action.setShortcut(QtGui.QKeySequence.Save)
202 action.triggered.connect(self._html_exporter.export)
202 action.triggered.connect(self.export_html)
203 203 self.addAction(action)
204 204 self._export_action = action
205 205
@@ -468,6 +468,11 b' class ConsoleWidget(Configurable, QtGui.QWidget):'
468 468
469 469 return complete
470 470
471 def export_html(self):
472 """ Shows a dialog to export HTML/XML in various formats.
473 """
474 self._html_exporter.export()
475
471 476 def _get_input_buffer(self):
472 477 """ The text that the user has entered entered at the current prompt.
473 478 """
General Comments 0
You need to be logged in to leave comments. Login now