summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-07-12 11:59:44 -0400
committerJustin Luth <jluth@mail.com>2023-07-13 00:51:10 +0200
commitd36ae6786e05deda7e78338d36624af371e7a3ed (patch)
tree70f8eacc0699ffc6e3d025d6ca373646fec435f2 /cui
parentdd1d74281a119f076e58598c8e022ee30232e5bf (diff)
tdf#65509 apply new AutoRecovery timeInterval without restarting
Another option would be to listen for config changes I guess. However, this alternative method of setting the timer interval (which I assume is related to Impress slideshows, but couldn't reproduce) is basically never used. At worst (in case this alternative method sets a non-zero time) it will be the same as before where a restart is needed to gain the new time. I'm not worried about having the user wait for the current timer to run out (in 10 minutes based on the default state) before their new time kicks in. Change-Id: Iaa2b9e3e0912918ae29aaf262b5d7f51924b8147 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154365 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 56e0f4486730..c35da388ebf9 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -283,7 +283,7 @@ bool SvxSaveTabPage::FillItemSet( SfxItemSet* rSet )
{
rSet->Put( SfxUInt16Item( SID_ATTR_AUTOSAVEMINUTE,
static_cast<sal_uInt16>(m_xAutoSaveEdit->get_value()) ) );
- bModified = bRequestRestart = true;
+ bModified = true;
}
if ( m_xUserAutoSaveCB->get_state_changed_from_saved() )