mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
Base and BaseNoGui: removed uncaught exception handler
ContributionManagerUI: after install/upgrade/remove, cell updated and not in edit mode
This commit is contained in:
parent
33457adafe
commit
f833ff84a7
@ -157,6 +157,7 @@ public class ContributionManagerUI extends InstallerJDialog {
|
||||
if (platformToRemove != null) {
|
||||
installer.remove(platformToRemove);
|
||||
}
|
||||
onIndexesUpdated();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
@ -175,6 +176,7 @@ public class ContributionManagerUI extends InstallerJDialog {
|
||||
try {
|
||||
setProgressVisible(true, _("Removing..."));
|
||||
installer.remove(platform);
|
||||
onIndexesUpdated();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
|
@ -229,12 +229,6 @@ public abstract class InstallerJDialog extends JDialog {
|
||||
updateBox.setEnabled(!visible);
|
||||
cellEditor.setEnabled(!visible);
|
||||
cellEditor.setStatus(status);
|
||||
|
||||
if (visible && contribTable.isEditing()) {
|
||||
TableCellEditor editor = contribTable.getCellEditor();
|
||||
if (editor != null)
|
||||
editor.stopCellEditing();
|
||||
}
|
||||
}
|
||||
|
||||
private void updateCellsHeight(TableModelEvent e) {
|
||||
|
@ -713,8 +713,6 @@ public class BaseNoGui {
|
||||
if (args.length == 0)
|
||||
showError(_("No parameters"), _("No command line parameters found"), null);
|
||||
|
||||
Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
|
||||
|
||||
initPlatform();
|
||||
|
||||
initPortableFolder();
|
||||
|
Loading…
x
Reference in New Issue
Block a user