Fix feed list 'edit' button

This commit is contained in:
Jaidyn Ann 2021-03-23 13:18:27 -05:00
parent 90e220bf0f
commit c31969fef1

View File

@ -55,7 +55,7 @@ FeedsView::MessageReceived(BMessage* msg)
} }
case kFeedsEditButton: case kFeedsEditButton:
{ {
if (msg->GetInt32("index", -1) >= 0) if (fFeedsListView->CurrentSelection() >= 0)
_EditSelectedFeed(); _EditSelectedFeed();
break; break;
} }