summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2019-12-16 17:35:23 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-12-17 13:44:28 +0100
commitc14e2e969b36c4d0727b003b977e3c88f52b3dd3 (patch)
tree88fc29d8fa2926445bfa4a10ea603e7ed6f95f4d /cui
parent7809e80bc10293eca04a531e64e2f192d1a1d261 (diff)
ui: show wait mouse pointer on operations in Expert Configuration
Expert Configuration is loading, resetting and searching values very slowly, so will be great to indicate busy status to user. Change-Id: Ic0d428d01a9f71ff899979162e1b307cd7cd7401 Reviewed-on: https://gerrit.libreoffice.org/85242 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 99783d0edc2405f351322dfa2479c7fb36527878) Reviewed-on: https://gerrit.libreoffice.org/85272
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optaboutconfig.cxx4
-rw-r--r--cui/source/options/optjava.cxx5
2 files changed, 8 insertions, 1 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 2b7a91360d09..a5adf7638c8d 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -217,6 +217,8 @@ void CuiAboutConfigTabPage::InsertEntry(const OUString& rPropertyPath, const OUS
void CuiAboutConfigTabPage::Reset()
{
+ weld::WaitObject aWait(m_xDialog.get());
+
m_xPrefBox->clear();
m_vectorOfModified.clear();
if (m_bSorted)
@@ -786,6 +788,8 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, StandardHdl_Impl, weld::Button&, void )
IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl, weld::Button&, void)
{
+ weld::WaitObject aWait(m_xDialog.get());
+
m_xPrefBox->clear();
m_xPrefBox->freeze();
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 947d7e25e12c..37a08f035716 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -294,7 +294,10 @@ IMPL_LINK( SvxJavaOptionsPage, DialogClosedHdl, DialogClosedEvent*, pEvt, void )
IMPL_LINK_NOARG(SvxJavaOptionsPage, ExpertConfigHdl_Impl, weld::Button&, void)
{
CuiAboutConfigTabPage aExpertConfigDlg(GetFrameWeld());
- aExpertConfigDlg.Reset();//initialize and reset function
+ {
+ weld::WaitObject aWait(GetFrameWeld());
+ aExpertConfigDlg.Reset();//initialize and reset function
+ }
if (RET_OK == aExpertConfigDlg.run())
{