mirror of https://github.com/stella-emu/stella.git
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:
parent
726c9b92bc
commit
1326b219f6
|
@ -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
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue