File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1622,15 +1622,15 @@ const String EditorViewport::loadState (File fileToLoad)
16221622 if (child->hasTagName (" VERSION" ))
16231623 {
16241624 String savedVersion = child->getAllSubText ();
1625- String minimumVersion = " 1 .0.0" ;
1625+ String minimumVersion = String (ProjectInfo::versionString). upToFirstOccurrenceOf ( " . " , false , false ) + " .0.0" ;
16261626
16271627 if (savedVersion.compareNatural (minimumVersion) < 0 )
16281628 {
16291629 bool userResponse = AlertWindow::showOkCancelBox (AlertWindow::WarningIcon,
1630- " Incompatible Configuration File" ,
1631- " This configuration file was created using a version of Open Ephys GUI older than 1.0.0. "
1632- " Some settings and parmeters may not load correctly.\n\n "
1633- " Would you like to proceed with loading the configuration file?" ,
1630+ " Legacy Configuration File Detected " ,
1631+ " This configuration file was created using a version of Open Ephys GUI older than "
1632+ + minimumVersion + " . Some settings and parmeters may not load correctly.\n\n "
1633+ " Would you like to proceed with loading the configuration file?" ,
16341634 " Yes" ,
16351635 " No" );
16361636
You can’t perform that action at this time.
0 commit comments