diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 7b95412522..4b2082582d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1440,18 +1440,16 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM if (wParam & MK_CONTROL) {
data->ToggleSelection(idx, idx);
- data->SetCaret(idx);
+ data->SetCaret(idx, false);
}
else if (wParam & MK_SHIFT) {
data->AddSelection(data->caret, idx);
- data->SetCaret(idx);
+ data->SetCaret(idx, false);
}
else {
- pt.y -= pItem->savedTop;
-
data->selStart = idx;
data->SetSelection(idx, idx);
- data->SetCaret(idx);
+ data->SetCaret(idx, false);
}
}
SetFocus(hwnd);
|