summaryrefslogtreecommitdiff
path: root/cui/source/options
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 10:27:50 +0100
commit99783d0edc2405f351322dfa2479c7fb36527878 (patch)
tree5459a1aef42d81afd9a08807cae7503fdfdae62a /cui/source/options
parent6ca3adf22b62b88b313c8fc9311183efdabe445a (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>
Diffstat (limited to 'cui/source/options')
-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 b27d3a33a51f..01fc840ae473 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())
{