diff options
author | Rachit Gupta <rachitgupta1792@gmail.com> | 2014-06-13 11:34:59 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-08-14 19:43:26 +0200 |
commit | 1192e0bd098ed025bf57764cd1b7cb0fe6a8c36a (patch) | |
tree | f587d2fbf31faeb9cd9adf14af96fe31a0a0b61f /cui | |
parent | 9bd0e43fb1dc50c629cde5982122de7c03dd7c99 (diff) |
Fixed Bug: Progress label was not shown after another search.
If another search was performed with the same instance of the dialog,
then the progress label was not visible. It is visible now.
Change-Id: Ic9526248d4f79585f59f24197aac832a0bcaaeb9
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/personalization.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 30249d8f2d9e..5c2f2c3f5f5f 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -155,7 +155,12 @@ void SelectPersonaDialog::SetProgress( OUString& rProgress ) if(rProgress.isEmpty()) m_pProgressLabel->Hide(); else + { + SolarMutexGuard aGuard; + m_pProgressLabel->Show(); m_pProgressLabel->SetText( rProgress ); + setOptimalLayoutSize(); + } } void SelectPersonaDialog::SetImages( std::vector<Image> &rImageList ) @@ -390,7 +395,7 @@ void SearchAndParseThread::execute() } catch (...) { - return; + return; } xml::sax::InputSource aParserInput; |