Small fixes

This commit is contained in:
crschnick 2024-11-07 17:50:59 +00:00
parent b6ae29e6ae
commit 9896f5e82e
2 changed files with 8 additions and 1 deletions

View file

@ -366,6 +366,12 @@ public class BrowserSessionTabsComp extends SimpleComp {
tab.setContextMenu(createContextMenu(tabs, tab, tabModel));
tab.setClosable(tabModel.isCloseable());
// Prevent closing while busy
tab.setOnCloseRequest(event -> {
if (!tabModel.canImmediatelyClose()) {
event.consume();
}
});
if (tabModel.getIcon() != null) {
var ring = new RingProgressIndicator(0, false);

View file

@ -15,10 +15,11 @@ The file browser has been improved:
- There is now a new option in the context menu of a tab to pin it, allowing for having a split view with two different file systems
- There is now the option to dock terminals in the file browser (this is only available on Windows for now)
- The previous system overview tab is now always shown
- There is now a new restart button for containers and VMs
## Security updates
There's now a new mechanism in place for checking for security updates separately from the normal update check. This is important going forward, to be able to act quickly when any security patch is published so that all users have the possibility to get notified even if they don't follow announcements on the GitHub repo or on Discord. You can also disable this functionality if you want.
There's now a new mechanism in place for checking for security updates separately from the normal update check. This is important going forward, to be able to act quickly when any security patch is published, so that all users have the possibility to get notified even if they don't follow announcements on the GitHub repo or on Discord. You can also disable this functionality if you want.
## Other