Skip to content

remember the last opened model folder

Thomas Debesse requested to merge illwieckz/netradiant:lastmodelfolder into master

It does the same as !46 (closed) but for models: remember the last opened folder when looking for a model.

As an extra I also improved a bit the “last opened model folder” behaviour to restore the “open the maps/ dir in user path if no last folder” behaviour instead of just “open user dir”. Former behaviour when there last folder were not remembered was to open maps/ dir in user path so it's more convenient this way. The model opening code was doing something similar so I just mimicked the model opening code to restore the behaviour.

I also renamed the “lastFolder” to “LastMapFolder” to prevent confusion with “LastModelFolder”.

Merge request reports