Commit e6e1fe9
committed
Safeguard against null style arg in UserInterface#chooseFile
This fixes the issue reported by @kephale on the forum, where the absence of a style attribute
on a File parameter leads to a NullPointerException:
https://forum.image.sc/t/error-for-file-type-imagej2-parameter/25585
This commit is a quick fix, it should probably be rewritten when addressing issue #3331 parent 2201d40 commit e6e1fe9
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments