mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: set the default local repo to load
This will allow the user to open a repo that was stored in no cloud mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4b1edceca0
commit
ec136defa8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue