summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-07-19 20:16:40 -0400
committerJustin Luth <jluth@mail.com>2023-07-20 03:26:49 +0200
commit896f19764abf9301169bf9631877bdae075edde4 (patch)
tree64537c0d03e0a3ff76912a2b0d642983b079baa7 /cui
parente823cd380a2ad38cbc7598c7393752f6398cb24f (diff)
tdf#156308 autosave: re-listening to config, no restart requests
The reason the restart request was added was because of the broken config. Now that the config is correct again, the listener notices the enable change and turns AutoSave on/off immediately. So there is no need to prompt the user to restart after modifying the setting in Tools - Options. Change-Id: I0c775964ce5d9f860b0ce320db86d8db7226a489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154663 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optsave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index b60fe8da2594..e63bab701926 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -281,7 +281,7 @@ bool SvxSaveTabPage::FillItemSet( SfxItemSet* rSet )
{
rSet->Put( SfxBoolItem( SID_ATTR_AUTOSAVE,
m_xAutoSaveCB->get_active() ) );
- bModified = bRequestRestart = true;
+ bModified = true;
}
if ( m_xWarnAlienFormatCB->get_state_changed_from_saved() )
{