diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-10 20:58:09 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-10 20:58:09 +0300 |
commit | 007cece71aebe64dafc824894270e4661416dcfc (patch) | |
tree | cd9b14250e0a470d129e04114b60771638c2a170 /plugins/NewStory/src | |
parent | a81d618369225a390609a66322da930a46cda289 (diff) |
NewStory: dbl click action to follow Edit menu item behavior
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index abe8a6cae3..051c4eff5a 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -259,7 +259,7 @@ void NewstoryListData::BeginEditItem() mir_subclassWindow(hwndEditBox, HistoryEditWndProc);
SendMessage(hwndEditBox, WM_SETFONT, (WPARAM)g_fontTable[fontid].hfnt, 0);
SendMessage(hwndEditBox, EM_SETMARGINS, EC_RIGHTMARGIN, 100);
- if (item->dbe.eventType != EVENTTYPE_MESSAGE)
+ if (item->dbe.eventType != EVENTTYPE_MESSAGE || !(item->dbe.flags & DBEF_SENT))
SendMessage(hwndEditBox, EM_SETREADONLY, TRUE, 0);
ShowWindow(hwndEditBox, SW_SHOW);
|