Skip to content

Commit

Permalink
[mcrl2ide] Fixed creating an empty project file when saving while no …
Browse files Browse the repository at this point in the history
…project is open

(cherry picked from commit d80b857)
  • Loading branch information
Valo13 authored and tneele committed Aug 29, 2019
1 parent f12545f commit 1e6fb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release/mcrl2ide/filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ bool FileSystem::saveAs()
* current as and save if successful */
else
{
if (newProject(false))
if (newProject(!projectOpen))
{
return save(true);
}
Expand Down

0 comments on commit 1e6fb43

Please sign in to comment.