fixes to mask, keyfrmpopup, listbox; update ver for build
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistbox.C
index 6468b89fa4537bbfe9fb24ddbdc59252e62f3b2c..683985feec863488fb4969639fef2f083d1423cb 100644 (file)
@@ -2419,9 +2419,8 @@ int BC_ListBox::get_cursor_item(ArrayList<BC_ListBoxItem*> *data,
                        }
                }
        }
-       else
+       else if( gui ) {
 // Text is treed
-       {
 // Cursor is inside items rectangle
                if(cursor_x >= 0 &&
                        cursor_x < (yscrollbar ?