HaikuDepot: Added TODO.

This commit is contained in:
Stephan Aßmus
2013-09-08 18:39:13 +02:00
parent cf94e360d5
commit 97c332e107
+3
View File
@@ -540,6 +540,9 @@ PackageListView::SelectionChanged()
BMessage message(MSG_PACKAGE_SELECTED);
BRow* selected = CurrentSelection();
// TODO: Wrong index, its the visible one (i.e. sorted)!
// Solve by putting an ID for the package in the message instead.
int32 index = -1;
if (selected != NULL)
index = IndexOf(selected);