Catch UnsupportedOperationExceptions from getDesktop.
This commit is contained in:
parent
e9be0ad9ef
commit
0f5e784e64
@ -164,7 +164,7 @@ public class EditDecalHelper {
|
||||
if (useSystemEditor) {
|
||||
try {
|
||||
Desktop.getDesktop().edit(tmpFile);
|
||||
} catch (IOException ioex) {
|
||||
} catch (Exception ioex) {
|
||||
throw new EditDecalHelperException(trans.get("EditDecalHelper.launchSystemEditorException"), trans.get("EditDecalHelper.editPreferencesHelp"), ioex);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user