mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-14 04:45:57 +01:00
Better behavior for the multiple selection in lists.
This commit is contained in:
@@ -130,10 +130,6 @@ doubleClick(WMWidget *self, void *data)
|
||||
char buf[255];
|
||||
|
||||
WMSelectAllListItems(lPtr);
|
||||
|
||||
//sprintf(buf, "Selected items: %d",
|
||||
// WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));;
|
||||
//WMSetLabelText(label, buf);
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +141,7 @@ listSelectionObserver(void *observer, WMNotification *notification)
|
||||
char buf[255];
|
||||
|
||||
sprintf(buf, "Selected items: %d",
|
||||
WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));;
|
||||
WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));
|
||||
WMSetLabelText(label, buf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user