Merge branch 'besh81-hotfix-1.6.2' into hotfix-1.6.2

This commit is contained in:
Jinhao 2019-01-17 07:19:45 +08:00
commit 1737a8e1cf

View File

@ -467,7 +467,7 @@ namespace nana
std::wstring text;
if (API::is_focus_ready(editor_->window_handle()))
if (API::is_focus_ready(editor_->window_handle()) && editor_->attr().editable)
text = to_wstring(range_->value());
else
text = to_wstring(modifier_.prefix + range_->value() + modifier_.suffix);