Update the edit box less often during visual tool drags, making drags ~20% faster.

Originally committed to SVN as r4426.
This commit is contained in:
Thomas Goyne 2010-06-04 03:07:41 +00:00
parent 625ce943f5
commit 2659b79036

View file

@ -266,6 +266,7 @@ void VisualTool<FeatureType>::Commit(bool full, wxString message) {
grid->ass->FlagAsModified(message); grid->ass->FlagAsModified(message);
} }
grid->CommitChanges(false,!full); grid->CommitChanges(false,!full);
if (full)
grid->editBox->Update(false, true, false); grid->editBox->Update(false, true, false);
} }