**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
string filename=entry_filename->get_text();
if(filename.empty())
filename=".";
- if(App::dialog_open_file(_("Choose File"),filename))
+ if(App::dialog_open_file(_("Choose File"), filename, MISC_DIR_PREFERENCE))
entry_filename->set_text(filename);
}