Skip to content

Commit fdd0402

Browse files
committed
main: init logs on startup
1 parent 26b6902 commit fdd0402

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,8 @@ ApplicationWindow {
13741374
}
13751375

13761376
Component.onCompleted: {
1377+
logger.resetLogFilePath(persistentSettings.portable);
1378+
13771379
if (screenAvailableWidth > width) {
13781380
x = (screenAvailableWidth - width) / 2;
13791381
}
@@ -1420,7 +1422,6 @@ ApplicationWindow {
14201422
} else {
14211423
wizard.wizardState = "wizardHome";
14221424
rootItem.state = "normal"
1423-
logger.resetLogFilePath(persistentSettings.portable);
14241425
openWallet("wizard");
14251426
}
14261427

0 commit comments

Comments
 (0)