projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libzmpeg3 layer3 tweak, listbox selection fix, vicon emtpy video fixes
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bclistbox.C
diff --git
a/cinelerra-5.1/guicast/bclistbox.C
b/cinelerra-5.1/guicast/bclistbox.C
index a6946530ffb1638f2cfe0690589d7653dcd44462..320e98bc4d701269e2fa636f02556a2bc4c419c6 100644
(file)
--- a/
cinelerra-5.1/guicast/bclistbox.C
+++ b/
cinelerra-5.1/guicast/bclistbox.C
@@
-2076,6
+2076,7
@@
int BC_ListBox::get_cursor_item(ArrayList<BC_ListBoxItem*> *data, int cursor_x,
// Icons are not treed
switch( display_format ) {
case LISTBOX_ICONS:
// Icons are not treed
switch( display_format ) {
case LISTBOX_ICONS:
+ case LISTBOX_ICONS_PACKED:
case LISTBOX_ICON_LIST: {
for( int j=data[master_column].total; --j>=0; ) {
int icon_x, icon_y, icon_w, icon_h;
case LISTBOX_ICON_LIST: {
for( int j=data[master_column].total; --j>=0; ) {
int icon_x, icon_y, icon_w, icon_h;
@@
-2092,8
+2093,7
@@
int BC_ListBox::get_cursor_item(ArrayList<BC_ListBoxItem*> *data, int cursor_x,
return j;
}
}
return j;
}
}
- if( display_format == LISTBOX_ICONS ) return -1;
- } // fall through
+ return -1; }
case LISTBOX_TEXT:
if( !gui ) break;
// Text is treed
case LISTBOX_TEXT:
if( !gui ) break;
// Text is treed