- fix: Before run a project's executable, we should check timestamp for project files AND modification states of files openned in editor.
This commit is contained in:
parent
3112cb03d4
commit
b9aceb420b
1
NEWS.md
1
NEWS.md
|
@ -10,6 +10,7 @@ Red Panda C++ Version 2.1
|
||||||
- reduce size of the executable of win-git-askpass tool
|
- reduce size of the executable of win-git-askpass tool
|
||||||
- change: remove "Optimize for the following machine" and "Optimize less, while maintaining full compatibility" options in the compiler setting panel, which are obseleted.
|
- change: remove "Optimize for the following machine" and "Optimize less, while maintaining full compatibility" options in the compiler setting panel, which are obseleted.
|
||||||
- change: escape spaces in the executabe path under linux.
|
- change: escape spaces in the executabe path under linux.
|
||||||
|
- fix: Before run a project's executable, we should check timestamp for project files AND modification states of files openned in editor.
|
||||||
|
|
||||||
Red Panda C++ Version 2.0
|
Red Panda C++ Version 2.0
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,9 @@ bool Project::unitsModifiedSince(const QDateTime& time)
|
||||||
qDebug()<<info.lastModified()<<time;
|
qDebug()<<info.lastModified()<<time;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Editor * e=unitEditor(unit);
|
||||||
|
if (e && e->modified())
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue