diff --git a/quickshell/Modals/WorkspaceRenameModal.qml b/quickshell/Modals/WorkspaceRenameModal.qml index 646a0f913..f29d3be34 100644 --- a/quickshell/Modals/WorkspaceRenameModal.qml +++ b/quickshell/Modals/WorkspaceRenameModal.qml @@ -44,6 +44,8 @@ DankFloatingWindow { } function submitAndClose() { + if (!root.visible) + return; if (aqueousWorkspace || CompositorService.isAqueous) { if (!aqueousWorkspace || renaming) return;