void
AddBookmarkForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
{
+ AppLog("AddBookmarkForm::OnListViewItemStateChanged listitemstatus %d for index",status,index);
if (__pEditFieldTitle != NULL)
{
__pEditFieldTitle->HideKeypad();
// To disable done button if either of the Title or Url field is empty
if (title.GetLength() == 0 || url.GetLength() == 0)
{
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ pHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, false);
pHeader->Invalidate(true);
}
else
{
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ pHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, true);
pHeader->Invalidate(true);
}
// To disable done button if either of the Title or Url field is empty
if (title.GetLength() == 0 || url.GetLength() == 0)
{
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ pHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, false);
pHeader->Invalidate(true);
}
else
{
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ pHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, true);
pHeader->Invalidate(true);
}