summaryrefslogtreecommitdiff
path: root/core
Unidiff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp15
1 files changed, 12 insertions, 3 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
@@ -965,15 +965,24 @@ void TextEdit::doAbout() {
965} 965}
966 966
967void TextEdit::doPrompt(bool b) { 967void TextEdit::doPrompt(bool b) {
968 promptExit=b; 968 promptExit=b;
969 Config cfg("TextEdit");
970 cfg.setGroup ( "View" );
971 cfg.writeEntry ( "PromptExit", b);
969} 972}
970 973
971void TextEdit::doDesktop(bool b) { 974void TextEdit::doDesktop(bool b) {
972 openDesktop=b; 975 openDesktop=b;
976 Config cfg("TextEdit");
977 cfg.setGroup ( "View" );
978 cfg.writeEntry ( "OpenDesktop", b);
973} 979}
974 980
975void TextEdit::doFilePerms(bool b) { 981void TextEdit::doFilePerms(bool b) {
976 filePerms=b; 982 filePerms=b;
983 Config cfg("TextEdit");
984 cfg.setGroup ( "View" );
985 cfg.writeEntry ( "FilePermissions", b);
977} 986}
978 987
979void TextEdit::editPasteTimeDate() { 988void TextEdit::editPasteTimeDate() {