summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-08-05 23:41:29 +0200
committerEike Rathke <erack@redhat.com>2020-08-06 00:42:55 +0200
commite2ce8ae7b9f84d1862b3dd95e4d4e7b27a70b752 (patch)
treeb8f192545c68aef8eb760d13d6704ef60debaf43
parent0c9a3fd2cf6e87e08d93f47f2d0987a57a8720c9 (diff)
Revert "tdf#130863: autoredact, disable useless checkboxes for regex"
This reverts commit b53fbe19dfd39d27868d616afb4f743b1237229b. See details here: https://bugs.documentfoundation.org/show_bug.cgi?id=130863#c26 Change-Id: I431094784106c9aad2a11b37b5ea849ba924b60f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100191 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit f615a3366e502884a15bbbf07c2fb1e70eb9dbfa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100210 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--sfx2/source/doc/autoredactdialog.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sfx2/source/doc/autoredactdialog.cxx b/sfx2/source/doc/autoredactdialog.cxx
index 868fc73cc538..19d1923b21ac 100644
--- a/sfx2/source/doc/autoredactdialog.cxx
+++ b/sfx2/source/doc/autoredactdialog.cxx
@@ -695,18 +695,10 @@ IMPL_LINK_NOARG(SfxAddTargetDialog, SelectTypeHdl, weld::ComboBox&, void)
m_xLabelContent->set_visible(true);
m_xContent->set_sensitive(true);
m_xContent->set_visible(true);
+ m_xWholeWords->set_sensitive(true);
m_xWholeWords->set_visible(true);
+ m_xCaseSensitive->set_sensitive(true);
m_xCaseSensitive->set_visible(true);
- if (m_xType->get_active_id() == "regex")
- {
- m_xWholeWords->set_sensitive(false);
- m_xCaseSensitive->set_sensitive(false);
- }
- else
- {
- m_xWholeWords->set_sensitive(true);
- m_xCaseSensitive->set_sensitive(true);
- }
}
}