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.
This commit is contained in:
Niels Martin Hansen 2007-08-23 23:09:46 +00:00
parent 044f104a2e
commit 33d9cf313b

View file

@ -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();
}