Fix regression bug: don't enter to a folder if we press Enter and with a new file name (e.g. in save as dialog)

This commit is contained in:
David Capello 2014-09-10 00:19:04 -03:00
parent 85651e26c5
commit 7af2882fb8

View File

@ -364,7 +364,7 @@ again:
std::string fn = m_fileName->getText();
std::string buf;
IFileItem* enter_folder = m_fileList->getSelectedFileItem();
IFileItem* enter_folder = NULL;
// up a level?
if (fn == "..") {