omads/omadsappui/AspSyncUtil/src/AspDialogUtil.cpp
branchRCL_3
changeset 8 ad0f53516d84
parent 0 dab8a81a92de
--- a/omads/omadsappui/AspSyncUtil/src/AspDialogUtil.cpp	Tue Feb 02 00:02:49 2010 +0000
+++ b/omads/omadsappui/AspSyncUtil/src/AspDialogUtil.cpp	Fri Feb 19 22:40:37 2010 +0200
@@ -1038,16 +1038,15 @@
     if (iNaviPane)
         {
         TRAP_IGNORE(iNaviDecorator = iNaviPane->CreateTabGroupL(this));    
-        }
+        if (iNaviDecorator)
+            {
+            TRAP_IGNORE(iNaviPane->PushL(*iNaviDecorator));
+            iNavidecoratorPushed = ETrue;
     
-	if (iNaviDecorator)
-	    {
-       	TRAP_IGNORE(iNaviPane->PushL(*iNaviDecorator));
-    	iNavidecoratorPushed = ETrue;
-
-	    iTabGroup = static_cast<CAknTabGroup*>( iNaviDecorator->DecoratedControl() );
-	    }
-	}
+            iTabGroup = static_cast<CAknTabGroup*>( iNaviDecorator->DecoratedControl() );
+            }
+        }
+    }
 
 // -----------------------------------------------------------------------------
 // CAspTabbedNaviPaneHandler::SetTabWidthL