- updated some strings, updated the translation strings

- commented the ToolsDB class since it is not used currently
- some minor changes in the AppTextEditor.py file
- removed Hungarian language since it's looking like is no longer being translated
This commit is contained in:
Marius Stanciu
2020-10-23 14:16:05 +03:00
committed by Marius
parent a7e3a32d4a
commit 55b4fbc3d8
27 changed files with 11903 additions and 33711 deletions

View File

@@ -173,18 +173,14 @@ class AppTextEditor(QtWidgets.QWidget):
self.callback = callback
def handlePrint(self):
self.app.defaults.report_usage("handlePrint()")
dialog = QtPrintSupport.QPrintDialog()
if dialog.exec_() == QtWidgets.QDialog.Accepted:
if dialog.exec() == QtWidgets.QDialog.Accepted:
self.code_editor.document().print_(dialog.printer())
def handlePreview(self):
self.app.defaults.report_usage("handlePreview()")
dialog = QtPrintSupport.QPrintPreviewDialog()
dialog.paintRequested.connect(self.code_editor.print_)
dialog.exec_()
dialog.paintRequested.connect(self.code_editor.print)
dialog.exec()
def handleTextChanged(self):
# enable = not self.ui.code_editor.document().isEmpty()