Hot Door CORE Forum

Full Version: ListView currentIndex bug in 0.8.0 for Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This worked fine in CORE 0.7.8 and still fine in 0.8.0 for Mac, but under Windows currentIndex in a new blank list returns -1. Once a selection has been made, it seems currentIndex can no longerĀ go below 0. Setting it manually to -1 with setCurrentIndex returns false.

I've added a workaround that, when currentIndex returns 0, I count the entries to be sure there really is an entry 0 before trying to access it.