From 5eae366cbdfb4c2e9f7a9b88257d12c400831456 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 13 Jul 2023 07:57:29 -0400 Subject: tdf#65509 - re-make visible userautosave config option This reverts LO 5.0 commit 4653c91a89cfe802754377bcdafc291526254a03 It was hidden because the feature didn't work well. Many of the "stumbling blocks" have been removed since version 5, and many people - especially in this age of web apps - expect a program to automatically take care of saving their documents. So make the option visible again. Change-Id: I09e73b0c96df697b4dfb8b7705ca28191ce6f8b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154389 Tested-by: Jenkins Reviewed-by: Justin Luth --- cui/source/options/optsave.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/options/optsave.cxx') diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index c35da388ebf9..2772c6d60944 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -290,7 +290,7 @@ bool SvxSaveTabPage::FillItemSet( SfxItemSet* rSet ) { rSet->Put( SfxBoolItem( SID_ATTR_USERAUTOSAVE, m_xUserAutoSaveCB->get_active() ) ); - bModified = true; + bModified = bRequestRestart = true; } // save relatively if ( m_xRelativeFsysCB->get_state_changed_from_saved() ) -- cgit