Fix ACE arsenal missing string and unused code in buttonHide (#5890)

* Add missing ACE_Arsenal_CantOpenDisplay string

* Remove unused code in buttonHide
This commit is contained in:
Josuan Albin 2017-12-10 21:48:47 +01:00 committed by PabstMirror
parent c1045e4266
commit a28a06a082
2 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,6 @@ params ["_display"];
private _showToggle = !ctrlShown (_display displayCtrl IDC_menuBar);
if (_showToggle) then {
[_display, _display displayCtrl GVAR(currentLeftPanel)] call FUNC(populatePanel)
};
{
private _ctrl = _display displayctrl _x;
_ctrl ctrlshow _showToggle;

View File

@ -318,5 +318,10 @@
<French>Enregistre les objets manquants / indisponibles dans le RPT</French>
<Polish>Rejestruj brakujące / niedostępne przedmioty do pliku RPT</Polish>
</Key>
<Key ID="STR_ACE_Arsenal_CantOpenDisplay">
<English>Unable to open ACE arsenal</English>
<French>Impossible d'ouvrir ACE arsenal</French>
<German>Kann ACE Arsenal nicht anzeigen</German>
</Key>
</Package>
</Project>