Commit ac4f1fb
committed
DefaultUIService: fix bug in default UI logic
The discoverUIs() initialization logic checks the scijava.ui property,
and assigns the default UI accordingly. But the getDefaultUI() method
was not forcing initialization before checking the value of the
defaultUI field, so it was null even when the property was set.
This commit forces initialization before getDefaultUI() proceeds,
so that the correct default UI is returned.1 parent fe9ac40 commit ac4f1fb
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments