summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachit Gupta <rachitgupta1792@gmail.com>2014-06-13 11:34:59 +0530
committerRachit Gupta <rachitgupta1792@gmail.com>2014-08-04 20:27:48 +0530
commit5373bee534006f9e8b207f93b8696389821d08a8 (patch)
tree5418651e4c56098850379d63e4a2e7e9ccc389ca
parent4808f3fb7feb28cb57a5a68251e679fca5d0a8b6 (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
-rw-r--r--cui/source/options/personalization.cxx7
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;