Fixed bug where last opened location was not default for next open

This seems to have been caused by a new bug in Qt and may need to be changed back if the bug is addressed.