Bug: projucer cannot open if previous project no longer exists

projucer

#1

openFile being called from reopenLastProjects() - if “ok” is false because the last project has been deleted then Projucer just closes its only window and immediately exits.

See if you can repeat it - this is the tip of develop

if (file.hasFileExtension (Project::projectFileExtension))
{
    auto previousFrontWindow = getFrontmostWindow();

    auto* w = getOrCreateEmptyWindow();
    bool ok = w->openFile (file);

    if (ok)
    {
        w->makeVisible();
        avoidSuperimposedWindows (w);
    }
    else
    {
        closeWindow (w);
    }

#2

Looks like it may only affect Windows


#3

Thanks, I’ll sort this out.