- added possibility to save as text file the content in Tcl Shell browser window when clicking the Save log context menu entry

This commit is contained in:
Marius Stanciu
2020-04-24 08:12:21 +03:00
committed by Marius
parent 7df7e17569
commit 527dcf6270
4 changed files with 183 additions and 480 deletions

View File

@@ -2600,7 +2600,8 @@ class _BrowserTextEdit(QTextEdit):
def save_log(self, app):
html_content = self.toHtml()
app.save_to_file(content_to_save=html_content)
txt_content = self.toPlainText()
app.save_to_file(content_to_save=html_content, txt_content=txt_content)
class _ExpandableTextEdit(QTextEdit):