Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-31 16:50:35 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:49:34 +0300
commit011030657db4094994b72012425cdce67ff777ab (patch)
treee22e0ffee9401253936213f17c31813ec7f5c171 /map/country_status_display.cpp
parent26e5d676e47a5d933fa489b380f68fa4ef3eb6d3 (diff)
invalidating children elements upon Element::layout.
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r--map/country_status_display.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp
index ea61a524a4..3c80e2995c 100644
--- a/map/country_status_display.cpp
+++ b/map/country_status_display.cpp
@@ -45,6 +45,12 @@ void CountryStatusDisplay::SetStatusMessage(string const & msgID, T1 const * t1,
m_statusMsg->setText(msg);
}
+void CountryStatusDisplay::layout()
+{
+ m_downloadButton->setIsDirtyLayout(true);
+ m_statusMsg->setIsDirtyLayout(true);
+}
+
void CountryStatusDisplay::purge()
{
m_downloadButton->purge();