diff options
author | Justin Luth <jluth@mail.com> | 2023-07-13 07:57:29 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-07-13 16:45:48 +0200 |
commit | 5eae366cbdfb4c2e9f7a9b88257d12c400831456 (patch) | |
tree | 0751fcaac32993c75d4d7de1981d5187a27d26fc /cui | |
parent | f896bbcffeccd27248f908d2628d03dddf83ea94 (diff) |
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 <jluth@mail.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optsave.cxx | 2 | ||||
-rw-r--r-- | cui/uiconfig/ui/optsavepage.ui | 1 |
2 files changed, 2 insertions, 1 deletions
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() ) diff --git a/cui/uiconfig/ui/optsavepage.ui b/cui/uiconfig/ui/optsavepage.ui index 82c9910dcf72..5e93c38a5856 100644 --- a/cui/uiconfig/ui/optsavepage.ui +++ b/cui/uiconfig/ui/optsavepage.ui @@ -182,6 +182,7 @@ <child> <object class="GtkCheckButton" id="userautosave"> <property name="label" translatable="yes" context="optsavepage|userautosave">Automatically save the document too</property> + <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="margin-start">12</property> |