From 31038135ad62ab6ef8ce4a4337b6d380bd4c526e Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 10 Nov 2022 20:50:31 +0100 Subject: [PATCH] Show wizard on the first launch also for the plasmoid --- plasmoid/lib/syncthingapplet.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plasmoid/lib/syncthingapplet.cpp b/plasmoid/lib/syncthingapplet.cpp index a91c3d7..a7dcad1 100644 --- a/plasmoid/lib/syncthingapplet.cpp +++ b/plasmoid/lib/syncthingapplet.cpp @@ -166,6 +166,13 @@ void SyncthingApplet::init() Data::setForkAwesomeThemeOverrides(); } + // show wizard on first launch + if (settings.firstLaunch || settings.fakeFirstLaunch) { + showWizard(); + settings.firstLaunch = false; + Settings::save(); + } + m_initialized = true; }