From 8f2604a6945c4b2465c6280431013eaa6be456f5 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 28 Feb 2014 11:30:04 +0100 Subject: [PATCH] + fixes #0001448: Newly created python macros don't have an asterisk in their window title. --- 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 3da6fc9c24..1fa36e246f 100644 --- a/src/Gui/DlgMacroExecuteImp.cpp +++ b/src/Gui/DlgMacroExecuteImp.cpp @@ -185,7 +185,7 @@ void DlgMacroExecuteImp::on_createButton_clicked() editor->setWindowIcon(Gui::BitmapFactory().pixmap("python_small")); PythonEditorView* edit = new PythonEditorView(editor, getMainWindow()); edit->open(fi.absoluteFilePath()); - edit->setWindowTitle(fn); + edit->setWindowTitle(QString::fromAscii("%1[*]").arg(fn)); edit->resize(400, 300); getMainWindow()->addWindow(edit); close();