diff --git a/source/gui/widgets/skeletons/text_editor.cpp b/source/gui/widgets/skeletons/text_editor.cpp index 16963195..a2f81c39 100644 --- a/source/gui/widgets/skeletons/text_editor.cpp +++ b/source/gui/widgets/skeletons/text_editor.cpp @@ -2086,6 +2086,10 @@ namespace nana{ namespace widgets void text_editor::copy() const { + //Stops copying text if the text_editor is masked. + if (mask_char_) + return; + auto text = _m_make_select_string(); if (!text.empty()) nana::system::dataexch().set(text, API::root(this->window_));