summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index b9ce5c7..4d7ed00 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -166,6 +166,8 @@ MainWindow::MainWindow(const QString &filename)
QLanguageFactory *languages = new QLanguageFactory(formats,this);
languages->addDefinitionPath("qxs");
languages->setLanguage(editor, "openscad");
+#else
+ editor->setTabStopWidth(30);
#endif
editor->setLineWrapping(true); // Not designable
setFont("", 0); // Init default font
contact: Jan Huwald // Impressum