diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-09-29 11:53:37 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-09-29 13:18:53 +0200 |
commit | 5a9c035486a1b2d0796656e33a659718d0b21c09 (patch) | |
tree | 58deede0ac89d46d4052674730a46d49223e44a9 /sw/source/uibase/wrtsh | |
parent | b45ab5256c9768914bcad854ce32b06caa0539b8 (diff) |
Related tdf#155561 - Query logic inverted
"Don't ask again" was working like "Show this dialog" or
"Ask for confirmation" before
Decided against a renaming since we use the "Do not again"
text on other places and it is more common in this type of
confirmation dialog than the positive (and checked) form
Change-Id: I705376d11bc662b157d38bf7a89fb8db13819e6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157404
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index ebec0dbfed2a..fe369d0f2091 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -697,7 +697,7 @@ void SwWrtShell::SetInsMode( bool bOn ) std::shared_ptr<comphelper::ConfigurationChanges> xChanges( comphelper::ConfigurationChanges::create()); - officecfg::Office::Common::Misc::QuerySetInsMode::set(xCheckBox->get_active(), xChanges); + officecfg::Office::Common::Misc::QuerySetInsMode::set(!xCheckBox->get_active(), xChanges); xChanges->commit(); if ( nResult == static_cast<int>(RET_NO) ) |