mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Fix typo "LastIamgeDir"->"LastImageDir"
This fixes an actual bug, where the current image dir would only be remembered on closing the program. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
03e87437e3
commit
ed92b60bfe
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ QString DiveListView::lastUsedImageDir()
|
|||
settings.beginGroup("FileDialog");
|
||||
if (settings.contains("LastImageDir"))
|
||||
if (QDir::setCurrent(settings.value("LastImageDir").toString()))
|
||||
lastImageDir = settings.value("LastIamgeDir").toString();
|
||||
lastImageDir = settings.value("LastImageDir").toString();
|
||||
return lastImageDir;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue