Fixed admsXml invocation when creating symbols

This commit is contained in:
Vadim Kuznetzov 2016-11-05 18:35:01 +03:00
parent 5e9ceffa49
commit a1c36cf6bb

View File

@ -429,7 +429,9 @@ int Schematic::saveDocument()
// QDir prefix = QDir(QucsSettings.BinDir);
QDir include = QDir(QucsSettings.BinDir+"../include/qucs-core");
QFileInfo inf(QucsSettings.Qucsator);
QString QucsatorPath = inf.path()+QDir::separator();
QDir include = QDir(QucsatorPath+"../include/qucs-core");
//pick admsXml from settings
QString admsXml = QucsSettings.AdmsXmlBinDir.canonicalPath();