From cff9d87dd9554727a44cf6af535a644706391ab4 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Thu, 27 Oct 2016 14:53:13 +0300 Subject: Move setReadOnly from Component to HasValue Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced --- client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java b/client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java index eed89f090c..3d5d7bbcfd 100644 --- a/client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java +++ b/client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java @@ -388,7 +388,7 @@ public class WindowConnector extends AbstractSingleComponentContainerConnector clickEventHandler.handleEventHandlerRegistration(); - window.setClosable(!isReadOnly()); + window.setClosable(state.closable); // initialize position from state updateWindowPosition(); -- cgit v1.2.3