Skip to content

Commit f2b9328

Browse files
committed
Fix build by restoring onIndexesUpdated override
1 parent 0ee0fcc commit f2b9328

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: app/src/cc/arduino/contributions/libraries/ui/LibraryManagerUI.java

+8-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected void onUpdatePressed() {
200200
try {
201201
setProgressVisible(true, "");
202202
installer.updateIndex(this::setProgress);
203-
//onIndexesUpdated();
203+
onIndexesUpdated();
204204
} catch (Exception e) {
205205
throw new RuntimeException(e);
206206
} finally {
@@ -223,6 +223,7 @@ public void onInstallPressed(final ContributedLibrary lib, final Optional<Contri
223223
contribTable.getCellEditor().stopCellEditing();
224224
}
225225
((LibrariesIndexTableModel) contribModel).update();
226+
onIndexesUpdated();
226227
} catch (Exception e) {
227228
throw new RuntimeException(e);
228229
} finally {
@@ -254,6 +255,7 @@ public void onRemovePressed(final ContributedLibrary lib) {
254255
contribTable.getCellEditor().stopCellEditing();
255256
}
256257
((LibrariesIndexTableModel) contribModel).update();
258+
onIndexesUpdated();
257259
} catch (Exception e) {
258260
throw new RuntimeException(e);
259261
} finally {
@@ -264,4 +266,8 @@ public void onRemovePressed(final ContributedLibrary lib) {
264266
installerThread.setUncaughtExceptionHandler(new InstallerJDialogUncaughtExceptionHandler(this, noConnectionErrorMessage));
265267
installerThread.start();
266268
}
267-
}
269+
270+
protected void onIndexesUpdated() throws Exception {
271+
// Empty
272+
}
273+
}

0 commit comments

Comments
 (0)