From 1192e0bd098ed025bf57764cd1b7cb0fe6a8c36a Mon Sep 17 00:00:00 2001 From: Rachit Gupta Date: Fri, 13 Jun 2014 11:34:59 +0530 Subject: 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 --- cui/source/options/personalization.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cui') 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 &rImageList ) @@ -390,7 +395,7 @@ void SearchAndParseThread::execute() } catch (...) { - return; + return; } xml::sax::InputSource aParserInput; -- cgit