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
1 changed files with 2 additions and 1 deletions

View File

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