browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp
changeset 26 97c9f46387be
parent 25 92a061761a7b
child 27 481242ead638
--- a/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp	Thu Jan 07 12:48:02 2010 +0200
+++ b/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp	Mon Jan 18 20:22:00 2010 +0200
@@ -2792,4 +2792,19 @@
             }      
         }
     }
+
+void CBrowserBookmarksView::HandleForegroundEventL( TBool aForeground )
+    {
+    // make sure we call base class function before proceeding
+    CBrowserFavouritesView::HandleForegroundEventL(aForeground);
+    if ( aForeground )
+        {
+        if ( TheContainer()->GotoPaneActive() && TheContainer()->GotoPane()->PopupList()->IsPoppedUp() )
+            {
+            // The pop up messes the screen when changing layouts
+            // So make sure to redraw the pane while coming to foreground 
+            TheContainer()->GotoPane()->PopupList()->HandleResourceChange(KEikDynamicLayoutVariantSwitch);
+            }
+        }
+    }
 // End of File