Skip to content

Commit f833ff8

Browse files
author
Federico Fissore
committed
Base and BaseNoGui: removed uncaught exception handler
ContributionManagerUI: after install/upgrade/remove, cell updated and not in edit mode
1 parent 33457ad commit f833ff8

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

app/src/cc/arduino/packages/contributions/ui/ContributionManagerUI.java

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public void run() {
157157
if (platformToRemove != null) {
158158
installer.remove(platformToRemove);
159159
}
160+
onIndexesUpdated();
160161
} catch (Exception e) {
161162
throw new RuntimeException(e);
162163
} finally {
@@ -175,6 +176,7 @@ public void run() {
175176
try {
176177
setProgressVisible(true, _("Removing..."));
177178
installer.remove(platform);
179+
onIndexesUpdated();
178180
} catch (Exception e) {
179181
throw new RuntimeException(e);
180182
} finally {

app/src/cc/arduino/ui/InstallerJDialog.java

-6
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,6 @@ public void setProgressVisible(boolean visible, String status) {
229229
updateBox.setEnabled(!visible);
230230
cellEditor.setEnabled(!visible);
231231
cellEditor.setStatus(status);
232-
233-
if (visible && contribTable.isEditing()) {
234-
TableCellEditor editor = contribTable.getCellEditor();
235-
if (editor != null)
236-
editor.stopCellEditing();
237-
}
238232
}
239233

240234
private void updateCellsHeight(TableModelEvent e) {

arduino-core/src/processing/app/BaseNoGui.java

-2
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,6 @@ static public void main(String args[]) throws Exception {
713713
if (args.length == 0)
714714
showError(_("No parameters"), _("No command line parameters found"), null);
715715

716-
Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
717-
718716
initPlatform();
719717

720718
initPortableFolder();

0 commit comments

Comments
 (0)