https://jira.talendforge.org/browse/TDI-30108 : Fixed one problem for compare, when open editor with readonly.