[qet] qet/qet: [5915] Adding or revoming diagram set project to modified |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5915
Author: scorpio810
Date: 2019-06-12 02:48:36 +0200 (Wed, 12 Jun 2019)
Log Message:
-----------
Adding or revoming diagram set project to modified
Modified Paths:
--------------
trunk/sources/projectview.cpp
Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp 2019-06-11 23:47:11 UTC (rev 5914)
+++ trunk/sources/projectview.cpp 2019-06-12 00:48:36 UTC (rev 5915)
@@ -404,6 +404,7 @@
// signal diagram view was added
emit(diagramAdded(diagram_view));
+ m_project -> setModified(true);
}
/**
@@ -443,10 +444,12 @@
delete diagram_view;
emit(diagramRemoved(diagram_view));
-
+
//Make definitve the withdrawal
m_project -> write();
updateAllTabsTitle();
+ m_project -> setModified(true);
+
}
/**