Fixed BrowerDialog to not default to the HOME directory when a requested

file isn't found; it should go to the parent of the requested file instead.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2731 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2013-05-09 12:34:46 +00:00
parent 726c9b92bc
commit 1326b219f6
2 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@
#include <cstdlib>
#define STELLA_VERSION "3.9_alpha1"
#define STELLA_VERSION "3.9_alpha2"
#define STELLA_BUILD atoi("$Rev$" + 6)
#endif

View File

@ -41,8 +41,6 @@ FileListWidget::~FileListWidget()
void FileListWidget::setLocation(const FilesystemNode& node, string select)
{
_node = node;
if(!_node.exists())
_node = FilesystemNode("~");
// Generally, we always want a directory listing
if(!_node.isDirectory() && _node.hasParent())