Skip to content

Commit

Permalink
add tooltip about required mission start
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Aug 10, 2018
1 parent 4965324 commit db606c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/common/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@
<French>Community Base Addons - Composants communs</French>
<Polish>Community Base Addons - Ogólne Komponenty</Polish>
</Key>
<Key ID="STR_cba_common_need_mission_start">
<English>You must first start a mission.</English>
<German>Sie müssen zuerst eine Mission starten.</German>
</Key>
</Package>
</Project>
1 change: 1 addition & 0 deletions addons/keybinding/fnc_initDisplayConfigure.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (isNil QUOTE(ADDON)) exitWith {
private _ctrlToggleButton = _display displayCtrl IDC_BTN_CONFIGURE_ADDONS;

_ctrlToggleButton ctrlEnable false;
_ctrlToggleButton ctrlSetTooltip LELSTRING(common,need_mission_start);
};

// ----- fill addon combo box
Expand Down
1 change: 1 addition & 0 deletions addons/settings/fnc_initDisplayGameOptions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if (isNil QUOTE(ADDON)) exitWith {
private _ctrlToggleButton = _display displayCtrl IDC_BTN_CONFIGURE_ADDONS;

_ctrlToggleButton ctrlEnable false;
_ctrlToggleButton ctrlSetTooltip LELSTRING(common,need_mission_start);
};

// ----- situational tooltips
Expand Down

0 comments on commit db606c5

Please sign in to comment.