diff options
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 71762f1934..a20e5a752d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -408,6 +408,9 @@ int NewstoryListData::PaintItem(HDC hdc, int index, int top, int width) auto *item = LoadItem(index); item->savedTop = top; + // remove any selections that might be created by the BBCodes parser + MTextSendMessage(0, item->data, EM_SETSEL, 0, 0); + // LOGFONT lfText; COLORREF clText, clBack, clLine; int fontid, colorid; |