From 41ee5d85f2326f633cf7a155428cd1b9340b47a0 Mon Sep 17 00:00:00 2001 From: marioalexis Date: Mon, 21 Feb 2022 16:47:48 -0300 Subject: [PATCH] Gui: Change the editor preferences preview to Python 3 --- src/Gui/DlgEditorImp.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/Gui/DlgEditorImp.cpp b/src/Gui/DlgEditorImp.cpp index 5e80939d26..78c0084b15 100644 --- a/src/Gui/DlgEditorImp.cpp +++ b/src/Gui/DlgEditorImp.cpp @@ -205,14 +205,16 @@ void DlgSettingsEditorImp::loadSettings() ui->textEdit1->setPlainText(QString::fromLatin1( "# Short Python sample\n" "import sys\n" - "def foo(begin, end):\n" - " i=begin\n" - " while (iGetGroup("Editor");