From a4724b3e691446a124d0164cad873efc6f327386 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 29 Nov 2019 20:02:34 +0100 Subject: [PATCH] Fix some regressions in Python editor: * show again asterisk when modifying the content * show still only filename in tab when modifying from outside --- src/Gui/DlgMacroExecuteImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/DlgMacroExecuteImp.cpp b/src/Gui/DlgMacroExecuteImp.cpp index 030d1db476..5900d50c21 100644 --- a/src/Gui/DlgMacroExecuteImp.cpp +++ b/src/Gui/DlgMacroExecuteImp.cpp @@ -326,10 +326,10 @@ void DlgMacroExecuteImp::on_editButton_clicked() PythonEditor* editor = new PythonEditor(); editor->setWindowIcon(Gui::BitmapFactory().iconFromTheme("applications-python")); PythonEditorView* edit = new PythonEditorView(editor, getMainWindow()); + edit->setDisplayName(PythonEditorView::FileName); edit->open(file); edit->resize(400, 300); getMainWindow()->addWindow(edit); - edit->setWindowTitle(item->text(0)); if (mitem->systemWide) { editor->setReadOnly(true);