Fix typo causing linux crash.
This commit is contained in:
@@ -663,7 +663,7 @@ static void handleDoubleClickActionChanged(const DCAction& action, const LLSD& n
|
||||
if (action == AUTOPILOT)
|
||||
gSavedSettings.setBOOL("DoubleClickTeleport", false);
|
||||
else
|
||||
gSavedSettings.setBOOL("DoubleClickAutopilot", false);
|
||||
gSavedSettings.setBOOL("DoubleClickAutoPilot", false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -868,7 +868,7 @@ void settings_setup_listeners()
|
||||
|
||||
gSavedSettings.getControl("AllowLargeSounds")->getSignal()->connect(boost::bind(&handleAllowLargeSounds, _2));
|
||||
gSavedSettings.getControl("LiruUseZQSDKeys")->getSignal()->connect(boost::bind(load_default_bindings, _2));
|
||||
gSavedSettings.getControl("DoubleClickAutopilot")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, AUTOPILOT, _2));
|
||||
gSavedSettings.getControl("DoubleClickAutoPilot")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, AUTOPILOT, _2));
|
||||
gSavedSettings.getControl("DoubleClickTeleport")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, TELEPORT, _2));
|
||||
gSavedSettings.getControl("HighResSnapshot")->getSignal()->connect(boost::bind(&handleHighResChanged, _2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user