forked from mia/Aegisub
When the active line is deselected via ctrl-clicking, set the active line to a line which is selected.
Originally committed to SVN as r4616.
This commit is contained in:
parent
74d887a4c4
commit
11b30c8bb4
1 changed files with 3 additions and 0 deletions
|
@ -774,6 +774,9 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
|||
// Toggle selected
|
||||
if (click && ctrl && !shift && !alt) {
|
||||
SelectRow(row,true,!IsInSelection(row,0));
|
||||
if (dlg == GetActiveLine()) {
|
||||
SetActiveLine(GetDialogue(GetFirstSelRow()));
|
||||
}
|
||||
parentFrame->UpdateToolbar();
|
||||
lastRow = row;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue