Don't save shapes directory to the "last_dir"

This commit is contained in:
YuSanka 2021-07-21 16:13:40 +02:00
parent c7051c9005
commit 232309a879
4 changed files with 11 additions and 3 deletions

View file

@ -544,6 +544,8 @@ void AppConfig::update_config_dir(const std::string &dir)
void AppConfig::update_skein_dir(const std::string &dir)
{
if (dir == sys_shapes_dir() || dir == custom_shapes_dir())
return; // do not save "shapes gallery" directory
this->set("recent", "skein_directory", dir);
}
/*