small fixes, error handling

This commit is contained in:
Honfika
2013-11-13 20:48:53 +01:00
parent 3af6b0f535
commit 19525c8fc7
7 changed files with 18 additions and 5 deletions

View File

@@ -3067,8 +3067,11 @@ public final class MainFrame extends AppRibbonFrame implements ActionListener, T
}, new Callback<AsyncResult<Void>>() {
@Override
public void call(AsyncResult<Void> arg1) {
public void call(AsyncResult<Void> result) {
setSourceTask = null;
if (result.error != null) {
abcPanel.decompiledTextArea.setText("//Decompilation error: " + result.error);
}
Main.stopWork();
}
});