Fix bug 164 :

title block editor : show 'projectpath' as available value


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5463 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-08-05 15:04:15 +00:00
parent e6c977e7d8
commit bf974f1956
2 changed files with 3 additions and 0 deletions

View File

@@ -257,6 +257,7 @@ void QETProject::setFilePath(const QString &filepath) {
emit(projectFilePathChanged(this, m_file_path));
emit(projectInformationsChanged(this));
updateDiagramsFolioData();
}
/**
@@ -1729,6 +1730,7 @@ void QETProject::updateDiagramsFolioData() {
DiagramContext project_wide_properties = project_properties_;
project_wide_properties.addValue("projecttitle", title());
project_wide_properties.addValue("projectpath", filePath());
for (int i = 0 ; i < total_folio ; ++ i) {
QString title = m_diagrams_list[i] -> title();