Merge pull request #128 from openrocket/issue-118
Catch UnsupportedOperationExceptions from getDesktop.
This commit is contained in:
commit
5b9af6de3b
@ -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