Remove deprecated SetSelected call 89/111089/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Thu, 19 Jan 2017 10:52:02 +0000 (10:52 +0000)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Thu, 19 Jan 2017 10:52:02 +0000 (10:52 +0000)
Change-Id: I85755f56734e21fab3e68e89c448e0af5fdfc728

dali-toolkit/internal/controls/buttons/radio-button-impl.cpp

index 79ff320..e54ad82 100644 (file)
@@ -105,7 +105,7 @@ void RadioButton::OnStateChange( State newState )
         Dali::Toolkit::RadioButton radioButtonChild = Dali::Toolkit::RadioButton::DownCast( parent.GetChildAt( i ) );
         if( radioButtonChild && radioButtonChild != Self() )
         {
         Dali::Toolkit::RadioButton radioButtonChild = Dali::Toolkit::RadioButton::DownCast( parent.GetChildAt( i ) );
         if( radioButtonChild && radioButtonChild != Self() )
         {
-          radioButtonChild.SetSelected( false );
+          radioButtonChild.SetProperty( Toolkit::Button::Property::SELECTED, false );
         }
       }
     }
         }
       }
     }