mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-19 17:16:53 -04:00
only close notification window on index error
This commit is contained in:
@@ -154,7 +154,8 @@ public class NotificationController implements FxController {
|
||||
var size = events.size();
|
||||
if (i < 0 || i >= size) {
|
||||
LOG.error("Selection index {} is out of bounds of list size {} during event removal. Closing Window.", i, size);
|
||||
close();
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
|
||||
events.remove(i);
|
||||
|
||||
Reference in New Issue
Block a user