From 33d9cf313b79f3bf0c365eb2169ebb450ae8e284 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 23 Aug 2007 23:09:46 +0000 Subject: [PATCH] Swap ordering of some operations after running an Auto4 macro. This might or might not make grid updates more correct. Originally committed to SVN as r1531. --- aegisub/frame_main_events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/frame_main_events.cpp b/aegisub/frame_main_events.cpp index edd79e176..f5c98067b 100644 --- a/aegisub/frame_main_events.cpp +++ b/aegisub/frame_main_events.cpp @@ -1037,8 +1037,8 @@ void FrameMain::OnAutomationMacro (wxCommandEvent &event) { // Have the grid update its maps, this properly refreshes it to reflect the changed subs SubsBox->UpdateMaps(); SubsBox->SetSelectionFromAbsolute(selected_lines); - SubsBox->EndBatch(); SubsBox->CommitChanges(true, false); + SubsBox->EndBatch(); }