diff --git a/src/main.cpp b/src/main.cpp index fc8c6a870..c2ba13a4a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -434,6 +434,7 @@ int main(int argc, char* argv[]) } uriDialog = std::unique_ptr(new ToxURIDialog(nullptr, profile->getCore(), *messageBoxManager)); + toxSave = std::unique_ptr(new ToxSave{*settings}); if (ipc.isAttached()) { // Start to accept Inter-process communication