Revert "Clear selection after deleting recordings"

This reverts commit 9f92e05942.
This commit is contained in:
0xboobface 2020-06-01 10:36:32 +02:00
parent c8614d7208
commit a67ef7f4fd
1 changed files with 0 additions and 4 deletions

View File

@ -691,10 +691,6 @@ public class RecordingsTab extends Tab implements TabSelectionListener {
showErrorDialog("Error while deleting recording", "Recording not deleted", exceptions); showErrorDialog("Error while deleting recording", "Recording not deleted", exceptions);
} }
observableRecordings.removeAll(deleted); observableRecordings.removeAll(deleted);
Platform.runLater(() -> {
table.getSelectionModel().clearSelection();
table.refresh();
});
} finally { } finally {
recordingsLock.unlock(); recordingsLock.unlock();
Platform.runLater(() -> table.setCursor(Cursor.DEFAULT)); Platform.runLater(() -> table.setCursor(Cursor.DEFAULT));