Revert "Clear selection after deleting recordings"
This reverts commit 9f92e05942
.
This commit is contained in:
parent
c8614d7208
commit
a67ef7f4fd
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue