a) Project stayed in modified state even after undoing all changes.
b) Saving the project deleted the undo stack.
This commit is contained in:
Andre Rummler
2026-09-18 18:28:48 +02:00
parent 0258d1a74f
commit 059d179d9b
4 changed files with 28 additions and 4 deletions
+3 -1
View File
@@ -534,7 +534,9 @@ QString QETProject::pathNameTitle() const
)
).arg(final_title);
}
if (m_modified) {
// Same condition as projectWasModified(): project-options changeg (m_modified) OR the undo stack sitting away from
// its clean index.
if (m_modified || !m_undo_stack->isClean()) {
final_title = QString(
tr(
"%1 [modifié]",