Merge branch 'besh81-hotfix-1.6.2' into hotfix-1.6.2
This commit is contained in:
commit
1737a8e1cf
@ -467,7 +467,7 @@ namespace nana
|
|||||||
|
|
||||||
std::wstring text;
|
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());
|
text = to_wstring(range_->value());
|
||||||
else
|
else
|
||||||
text = to_wstring(modifier_.prefix + range_->value() + modifier_.suffix);
|
text = to_wstring(modifier_.prefix + range_->value() + modifier_.suffix);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user