aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-02-04 20:57:26 +1100
committerNeil <nyamatongwe@gmail.com>2025-02-04 20:57:26 +1100
commit3c7b3d58881b98806a0eb5bbd94a07c38b9fe7c5 (patch)
tree84bfcce4cd245c333cab38586f43be89e8c7259f /src/Editor.cxx
parentc88990bc3bd3e043a426773d24d55a7527e84dcf (diff)
downloadscintilla-mirror-3c7b3d58881b98806a0eb5bbd94a07c38b9fe7c5.tar.gz
Ensure undo selection history for view is deleted when view destroyed or
history disabled.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index d85a4c294..a29aa08fc 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -8698,7 +8698,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
return static_cast<sptr_t>(changeHistoryOption);
case Message::SetUndoSelectionHistory:
- undoSelectionHistoryOption = static_cast<UndoSelectionHistoryOption>(wParam);
+ ChangeUndoSelectionHistory(static_cast<UndoSelectionHistoryOption>(wParam));
break;
case Message::GetUndoSelectionHistory: