You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make chunk deletion confirmation dialog more intrusive (#1035)
* issue #1034 - add separators between different chunk operation groups, move "delete chunks" really far away from "clear selection"
* issue #1034 - replace Alert confirmation dialog with special dialog which only enables the "OK" button after confirming a checkbox
* add icons to chunk operations and fix naming of buttons
* improve wording
Co-authored-by: Maik Marschner <an@maik.tk>
"Do you really want to delete the selected chunks from the world?\nThis will remove the selected chunks from your disk and cannot be undone. Be sure to have a backup!",
522
+
"I do want to permanently delete the selected chunks"
523
+
);
524
+
if (confirmationDialog.showAndWait().orElse(ButtonType.CANCEL) == ButtonType.OK) {
521
525
deleteSelectedChunks(ProgressTracker.NONE);
522
526
}
523
527
});
524
528
525
-
exportZip.setTooltip(newTooltip("Export selected chunks to Zip archive."));
526
-
exportZip.setOnAction(e -> {
529
+
exportZipBtn.setTooltip(newTooltip("Export selected chunks to Zip archive."));
0 commit comments