mirror of https://gitlab.com/basile.b/dexed.git
msgs, only reset sel when file has been opened
This commit is contained in:
parent
8f8e72856d
commit
7d7dd7d807
|
@ -1010,9 +1010,9 @@ 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;
|
||||||
|
List.ClearSelection(false);
|
||||||
// from here, since a doc has the focus, List.Selected is nil
|
// from here, since a doc has the focus, List.Selected is nil
|
||||||
pos := getLineFromMessage(msg);
|
pos := getLineFromMessage(msg);
|
||||||
if fDoc.isNil then
|
if fDoc.isNil then
|
||||||
|
|
Loading…
Reference in New Issue