summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 209c5de..f38ea53 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -968,2 +968,5 @@ void TextEdit::doPrompt(bool b) {
promptExit=b;
+ Config cfg("TextEdit");
+ cfg.setGroup ( "View" );
+ cfg.writeEntry ( "PromptExit", b);
}
@@ -972,2 +975,5 @@ void TextEdit::doDesktop(bool b) {
openDesktop=b;
+ Config cfg("TextEdit");
+ cfg.setGroup ( "View" );
+ cfg.writeEntry ( "OpenDesktop", b);
}
@@ -976,2 +982,5 @@ void TextEdit::doFilePerms(bool b) {
filePerms=b;
+ Config cfg("TextEdit");
+ cfg.setGroup ( "View" );
+ cfg.writeEntry ( "FilePermissions", b);
}