Do not throw error when open an already opened document
This commit is contained in:
committed by
Yorik van Havre
parent
fb036960ba
commit
10e7b3e80e
@@ -776,9 +776,8 @@ Document* Application::openDocumentPrivate(const char * FileName,
|
||||
|
||||
if(!isMainDoc)
|
||||
return 0;
|
||||
std::stringstream str;
|
||||
str << "The project '" << FileName << "' is already open!";
|
||||
throw Base::FileSystemError(str.str().c_str());
|
||||
|
||||
return it->second;
|
||||
}
|
||||
|
||||
std::string name;
|
||||
|
||||
Reference in New Issue
Block a user