[network/kio-extras] kcms/trash: kcmtrash: allow saving the settings a second time

Antti Savolainen <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit e9326cb29f483b50626c062a6fd9c3b4dbf45816 by Antti Savolainen.
Committed on 08/08/2026 at 17:42.
Pushed by asavolainen into branch 'master'.

kcmtrash: allow saving the settings a second time

M  +1    -0    kcms/trash/kcmtrash.cpp

https://invent.kde.org/network/kio-extras/-/commit/e9326cb29f483b50626c062a6fd9c3b4dbf45816

diff --git a/kcms/trash/kcmtrash.cpp b/kcms/trash/kcmtrash.cpp
index eeb98b572..37836bd99 100644
--- a/kcms/trash/kcmtrash.cpp
+++ b/kcms/trash/kcmtrash.cpp
@@ -83,6 +83,7 @@ void TrashConfigModule::save()
     }
 
     writeConfig();
+    setNeedsSave(false);
 }
 
 void TrashConfigModule::defaults()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.