mirror of https://gitlab.com/basile.b/dexed.git
fix #320 - Access violation in the messages when option singleMessageClick is activated
This commit is contained in:
parent
80a9821c42
commit
8f8e72856d
|
@ -1010,6 +1010,7 @@ begin
|
||||||
if ssCtrl in GetKeyShiftState then
|
if ssCtrl in GetKeyShiftState then
|
||||||
exit;
|
exit;
|
||||||
msg := List.Selected.Text;
|
msg := List.Selected.Text;
|
||||||
|
List.ClearSelection(false);
|
||||||
if not openFileFromDmdMessage(msg) then
|
if not openFileFromDmdMessage(msg) then
|
||||||
exit;
|
exit;
|
||||||
// from here, since a doc has the focus, List.Selected is nil
|
// from here, since a doc has the focus, List.Selected is nil
|
||||||
|
|
Loading…
Reference in New Issue