Fix bug where visual tools could leave no lines selected.
Originally committed to SVN as r4400.
This commit is contained in:
parent
d295ce7b0a
commit
fd00cf9a21
1 changed files with 2 additions and 3 deletions
|
@ -170,6 +170,7 @@ void VisualTool<FeatureType>::OnMouseEvent (wxMouseEvent &event) {
|
|||
ClearSelection();
|
||||
AddSelection(curFeatureI);
|
||||
}
|
||||
SetEditbox();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -221,9 +222,7 @@ void VisualTool<FeatureType>::OnMouseEvent (wxMouseEvent &event) {
|
|||
else {
|
||||
selChanged = false;
|
||||
}
|
||||
if (curFeature->lineN != -1) {
|
||||
SetEditbox(curFeature->lineN);
|
||||
}
|
||||
SetEditbox(curFeature->lineN);
|
||||
|
||||
dragStartX = video.x;
|
||||
dragStartY = video.y;
|
||||
|
|
Loading…
Reference in a new issue