[qet] qet/qet: [5910] Bug fix : when user load a project which contains summary pages, project |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5910
Author: scorpio810
Date: 2019-06-10 13:34:57 +0200 (Mon, 10 Jun 2019)
Log Message:
-----------
Bug fix : when user load a project which contains summary pages, project
was marked modified (summary was created on the fly and moved on second
position by default), now the project is no longer marked as amended
Modified Paths:
--------------
trunk/sources/projectview.cpp
Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp 2019-06-10 10:12:00 UTC (rev 5909)
+++ trunk/sources/projectview.cpp 2019-06-10 11:34:57 UTC (rev 5910)
@@ -879,6 +879,7 @@
if (m_project -> getFolioSheetsQuantity()) {
for (int i = 0; i < m_project->getFolioSheetsQuantity(); i++)
m_tab -> tabBar() -> moveTab(diagram_views().size()-1, + 1);
+ m_project->setModified(false);
}
}