summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-10-27 14:53:13 +0300
committerVaadin Code Review <review@vaadin.com>2016-11-02 10:03:23 +0000
commitcff9d87dd9554727a44cf6af535a644706391ab4 (patch)
treec1731b600e86beb5005662fd25350a9ee29a71e1 /client
parent2cb106ce095edd5fc8a72b38a856c76ece05684e (diff)
downloadvaadin-framework-cff9d87dd9554727a44cf6af535a644706391ab4.tar.gz
vaadin-framework-cff9d87dd9554727a44cf6af535a644706391ab4.zip
Move setReadOnly from Component to HasValue
Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/window/WindowConnector.java2
1 files changed, 1 insertions, 1 deletions
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();