changeset 75:d184cd01760c

* Fix #1844508 spurious error message on .svl file import
author Chris Cannam
date Thu, 13 Dec 2007 18:06:22 +0000
parents 864703bf64ac
children 2da0999dac1d
files framework/MainWindowBase.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Thu Dec 13 17:14:33 2007 +0000
+++ b/framework/MainWindowBase.cpp	Thu Dec 13 18:06:22 2007 +0000
@@ -1106,6 +1106,8 @@
             registerLastOpenedFilePath(FileFinder::LayerFile, path); // for file dialog
         }
 
+        return FileOpenSucceeded;
+
     } else {
         
         try {
@@ -1140,7 +1142,6 @@
         }
     }
     
-    source.setLeaveLocalFile(true);
     return FileOpenFailed;
 }