Skip to content

Commit

Permalink
ViewProviderPath: tweek StartIndex auto step size
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and yorikvanhavre committed Mar 3, 2018
1 parent 7f891eb commit 286b252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/Gui/ViewProviderPath.cpp
Expand Up @@ -394,7 +394,7 @@ void ViewProviderPath::updateShowConstraints() {
blockPropertyChange = false;
StartIndex.purgeTouched();
}
StartIndexConstraints.StepSize = ShowCount.getValue()>0?ShowCount.getValue():1;
StartIndexConstraints.StepSize = ShowCount.getValue()>2?ShowCount.getValue()-2:1;
}

void ViewProviderPath::updateData(const App::Property* prop)
Expand Down

0 comments on commit 286b252

Please sign in to comment.