Fix some regressions in Python editor:
* show again asterisk when modifying the content * show still only filename in tab when modifying from outside
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user