From 34913135c97f429ee6a2f19ded37b09e2777107e Mon Sep 17 00:00:00 2001 From: harukalover Date: Fri, 14 Aug 2009 05:08:29 +0000 Subject: [PATCH] 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. --- aegisub/src/base_grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/base_grid.cpp b/aegisub/src/base_grid.cpp index d741a1a0b..f8122df1d 100644 --- a/aegisub/src/base_grid.cpp +++ b/aegisub/src/base_grid.cpp @@ -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();