mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Made selecting a line via the visual typesetting drag mode also update the grid's selection, fixing one way of getting the edit box out of sync with the other non-time controls.
Originally committed to SVN as r3106.
This commit is contained in:
parent
43adde723c
commit
fa3f5d11ef
@ -160,7 +160,10 @@ void VisualTool::OnMouseEvent (wxMouseEvent &event) {
|
||||
if (curFeature != -1) {
|
||||
// Initialize drag
|
||||
InitializeDrag(features[curFeature]);
|
||||
if (features[curFeature].lineN != -1) VideoContext::Get()->grid->editBox->SetToLine(features[curFeature].lineN,true);
|
||||
if (features[curFeature].lineN != -1) {
|
||||
VideoContext::Get()->grid->editBox->SetToLine(features[curFeature].lineN,true);
|
||||
VideoContext::Get()->grid->SelectRow(features[curFeature].lineN);
|
||||
}
|
||||
|
||||
// Set start value
|
||||
dragStartX = mx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user