mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user