QScintilla/Exporters/ExporterODT.py

changeset 6105
cbd34d558bd9
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
--- a/QScintilla/Exporters/ExporterODT.py	Sat Feb 03 10:45:52 2018 +0100
+++ b/QScintilla/Exporters/ExporterODT.py	Sat Feb 03 16:15:24 2018 +0100
@@ -45,7 +45,7 @@
         QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
         QApplication.processEvents()
         
-        tabSize = Preferences.getEditor("TabWidth")
+        tabSize = self.editor.getEditorConfig("TabWidth")
         if tabSize == 0:
             tabSize = 4
         wysiwyg = Preferences.getEditorExporter("ODT/WYSIWYG")

eric ide

mercurial