ACE3/addons/optionsmenu/functions/fnc_onServerCategorySelectChanged.sqf
Glowbal 0601aa80bb Localized All categories string
Enabled categories for config export menu
2015-08-08 11:52:23 +02:00

28 lines
504 B
Plaintext

/*
* Author: Glowbal
* Changes which category is selected
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ACE_optionsmenu_fnc_onCategorySelectChanged
*
* Public: No
*/
#include "script_component.hpp"
private ["_settingsMenu"];
disableSerialization;
_settingsMenu = uiNamespace getVariable 'ACE_settingsMenu';
_ctrlComboBox = (_settingsMenu displayCtrl 14);
GVAR(currentCategorySelection) = lbCurSel _ctrlComboBox;
[false] call FUNC(serverSettingsMenuUpdateList);