diff -r a5b9f6a38faf -r cbd34d558bd9 QScintilla/Exporters/ExporterODT.py --- 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")