adobe/brackets — pull request #4351 by bchintx (2013-06-26 17:16:44+00:00)
Title: Fix for Issue #4344- "Selecting Refresh right after creating a new file using context menu breaks New File and New Folder in context menu"

This issue occurred as a result of the 'fileNewInProgress' flag not ever getting reset back to 'false' after the Refresh command was executed.

To fix this, I simply removed the 'return' statement from the conditional that checks for the flag. This allows Brackets to fall thru and move forward with the next New File request. This should be ok since we've forced the previous rename to finish and cleaned the state up with the call to 'ProjectManager.forceFinishRename();'