diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 5c7da40dd8..147689df72 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -3122,6 +3122,8 @@ StdCmdSelForward::StdCmdSelForward() sPixmap = "sel-forward"; sAccel = "S, F"; eType = AlterSelection; + + } void StdCmdSelForward::activated(int iMsg) @@ -3509,6 +3511,13 @@ void CreateViewStdCommands(void) rcCmdMgr.addCommand(new StdCmdSelBack()); rcCmdMgr.addCommand(new StdCmdSelForward()); rcCmdMgr.addCommand(new StdCmdTreeViewActions()); + + + auto hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View"); + if(hGrp->GetASCII("GestureRollFwdCommand").empty()) + hGrp->SetASCII("GestureRollFwdCommand","Std_SelForward"); + if(hGrp->GetASCII("GestureRollBackCommand").empty()) + hGrp->SetASCII("GestureRollBackCommand","Std_SelBack"); } } // namespace Gui