diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2019-12-16 17:35:23 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2019-12-17 13:44:28 +0100 |
commit | c14e2e969b36c4d0727b003b977e3c88f52b3dd3 (patch) | |
tree | 88fc29d8fa2926445bfa4a10ea603e7ed6f95f4d | |
parent | 7809e80bc10293eca04a531e64e2f192d1a1d261 (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
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optjava.cxx | 5 |
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()) { |