summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachit Gupta <rachitgupta1792@gmail.com>2014-06-13 11:34:59 +0530
committerRachit Gupta <rachitgupta1792@gmail.com>2014-06-13 11:40:31 +0530
commita4fdb0ec00ea484753c279746a16d822bcafa54e (patch)
tree2fc33a003a1637b30d535a55e9bd1ffb81529134
parentcdd2b7aa6ed57e0e1090cc65c292ffe943f5457e (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 f428230e2881..6afdcb686d54 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;