Fix Bug: Buttons doesn't work properly in CCategorySongsLayout 30/36230/1 accepted/tizen/tv/20150304.043732 submit/tizen_tv/20150304.025016
authorKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 4 Mar 2015 02:48:48 +0000 (11:48 +0900)
committerKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 4 Mar 2015 02:48:48 +0000 (11:48 +0900)
Change-Id: I2af5c0addee17b285fdb2e7b5b71ccd3bf1fa654
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
src/views/category-songs-layout.cpp

index 4ba866a..a110318 100644 (file)
@@ -573,7 +573,7 @@ void CCategorySongsLayout::m_AddButtons(void)
                elm_object_text_set(m->add_btn[i], _(btninfo[i].name));
                elm_object_style_set(m->add_btn[i], btninfo[i].style);
 
-               Connect(m->add_btn[i], btninfo[ABTN_LAST].type, TYPE_CLICKED | TYPE_MOUSE_MOVE);
+               Connect(m->add_btn[i], btninfo[i].type, TYPE_CLICKED | TYPE_MOUSE_MOVE);
 
                img = elm_image_add(m->add_btn[i]);
                if (img) {