mirror of https://github.com/odrling/Aegisub
Removed a condition which would make clicking on a line that was already selected never update the editbox, this was wrong since the line's text can be changed by functions outside of direct editing in the editbox (e.g. automation scripts)
Originally committed to SVN as r3408.
This commit is contained in:
parent
a31139a408
commit
34913135c9
|
@ -725,7 +725,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
|||
|
||||
// Normal click
|
||||
if ((click || dclick) && !shift && !ctrl && !alt) {
|
||||
if (editBox->linen != row) editBox->SetToLine(row);
|
||||
editBox->SetToLine(row);
|
||||
if (dclick) VideoContext::Get()->JumpToFrame(VFR_Output.GetFrameAtTime(GetDialogue(row)->Start.GetMS(),true));
|
||||
SelectRow(row,false);
|
||||
parentFrame->UpdateToolbar();
|
||||
|
|
Loading…
Reference in New Issue