equal
deleted
inserted
replaced
1208 { |
1208 { |
1209 iPreviousItem = KSelectedNone; |
1209 iPreviousItem = KSelectedNone; |
1210 for(TInt i = 0; i < iVisibleItems.Count(); i++) |
1210 for(TInt i = 0; i < iVisibleItems.Count(); i++) |
1211 { |
1211 { |
1212 CAknToolbarItem* item = iVisibleItems[ i ]; |
1212 CAknToolbarItem* item = iVisibleItems[ i ]; |
1213 CAknButton* button = static_cast<CAknButton*>( item->Control() ); |
1213 if( item->ControlType() == EAknCtButton |
1214 button->ResetState(); |
1214 || item->ControlType() == EAknCtToolbarExtension ) |
|
1215 { |
|
1216 CAknButton* button = static_cast<CAknButton*>( item->Control() ); |
|
1217 button->ResetState(); |
|
1218 } |
1215 } |
1219 } |
1216 |
1220 |
1217 if ( iFlags & KAknToolbarFixed ) |
1221 if ( iFlags & KAknToolbarFixed ) |
1218 { |
1222 { |
1219 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
1223 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |