saalfeldlab / n5-viewer

BigDataViewer-based tool for visualizing multichannel multiscale N5 datasets.
GNU General Public License v3.0
18 stars 11 forks source link

File opening dialog throws exception #3

Closed axtimwalde closed 6 years ago

axtimwalde commented 6 years ago

In a freshly built viewer, selecting a file with the browse button does not open a file dialog but throws an exception. Entering the location as a file: URL works.

igorpisarev commented 6 years ago

Thanks for spotting this! The error occurs when selection history is empty, and was introduced with the recent changes. Fixed in https://github.com/saalfeldlab/n5-viewer/commit/c30efad91104a6f6efd3e371b7b635009eb58d31