- change: New file created by file template is set as unmodified by default.
This commit is contained in:
parent
7104089e66
commit
62f7c0a495
1
NEWS.md
1
NEWS.md
|
@ -21,6 +21,7 @@ Red Panda C++ Version 2.24
|
|||
- change: Git support is disabled in the distributed buildings.
|
||||
- fix: Wrong code suggestion while inputing numbers in assembly files.
|
||||
- fix: Defines in all files are wrongly cleared when reparsing.
|
||||
- change: New file created by file template is set as unmodified by default.
|
||||
|
||||
Red Panda C++ Version 2.23
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
if (!fileTemplate.isEmpty()) {
|
||||
insertCodeSnippet(fileTemplate);
|
||||
setCaretPosition(1,1);
|
||||
mCanAutoSave = true;
|
||||
setModified(false);
|
||||
}
|
||||
}
|
||||
if (!isNew && parentPageControl) {
|
||||
|
|
Loading…
Reference in New Issue