aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index fc570a96b..e18d40794 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -48,6 +48,9 @@ int main(int argc, char **argv)
taglist_init_global();
init_ui();
loadPreferences();
+ if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE)
+ set_filename(prefs.default_filename, true);
+
// some hard coded settings
prefs.animation_speed = 0; // we render the profile to pixmap, no animations