Fix typo causing linux crash.

This commit is contained in:
Lirusaito
2015-11-13 20:28:34 -05:00
parent 2207a7c6b1
commit 5485c8263e

View File

@@ -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));
}