File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ void FileReader::initialize (bool signalChainIsLoading)
211211
212212bool FileReader::setFile (String fullpath, bool shouldUpdateSignalChain)
213213{
214- if (fullpath.equalsIgnoreCase (" default" ))
214+ if (fullpath.equalsIgnoreCase (" default" ) || fullpath. equalsIgnoreCase ( " None " ) )
215215 {
216216 File executable = File::getSpecialLocation (File::currentApplicationFile);
217217
Original file line number Diff line number Diff line change @@ -1296,7 +1296,11 @@ void PathParameter::toXml (XmlElement* xml)
12961296
12971297void PathParameter::fromXml (XmlElement* xml)
12981298{
1299- currentValue = xml->getStringAttribute (getName (), defaultValue);
1299+ String savedValue = xml->getStringAttribute (getName (), defaultValue);
1300+ if (savedValue.equalsIgnoreCase (" default" ))
1301+ savedValue = " None" ;
1302+
1303+ currentValue = savedValue;
13001304}
13011305
13021306String PathParameter::getChangeDescription ()
You can’t perform that action at this time.
0 commit comments