Skip to content

Commit

Permalink
Merge pull request #960 from CBATeam/must-start-mission-tooltip
Browse files Browse the repository at this point in the history
add tooltip about required mission start
  • Loading branch information
Killswitch00 committed Aug 19, 2018
2 parents 616402a + db606c5 commit 46ead80
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 46ead80

Please sign in to comment.