summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-15 16:51:21 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-10-18 00:08:26 +0200
commit23614f72bb14bad45bce1966242e0763825260c4 (patch)
tree9baaeef33f2ff4528527fb5759c7e1791b13193b /cui
parent0de0b1b64a1c122254bb821ea0eb9b038875e8d4 (diff)
tdf#137432 only do EnableInvalidate(false) optimization when not shown
Change-Id: If7f35d19061a7a2db2e5df31227834526bbf0905 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104334 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optaboutconfig.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 79a75bda69d3..7f5e73a80b0e 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -792,6 +792,7 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl, weld::Button&, void)
{
weld::WaitObject aWait(m_xDialog.get());
+ m_xPrefBox->hide();
m_xPrefBox->clear();
m_xPrefBox->freeze();
@@ -845,6 +846,7 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl, weld::Button&, void)
m_xPrefBox->expand_row(rEntry);
return false;
});
+ m_xPrefBox->show();
}
void CuiAboutConfigTabPage::InsertEntry(const prefBoxEntry& rEntry)