Skip to content

Commit

Permalink
paradropAdvanced - fix erreur lorsqu'aucun saut pré-configuré
Browse files Browse the repository at this point in the history
  • Loading branch information
zgmrvn committed Jun 14, 2017
1 parent 5d901bd commit dfe0ecf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,7 @@ _close ctrlAddEventHandler ["MouseButtonDown", {
closeDialog PARADROP_DIALOG_IDD;
}];

// selection du premier saut par défaut
_dropList lbSetCurSel 0;
// selection du premier saut par défaut s'il-y-a au moins 1 saut
if (count (CORP_var_paradropAdvanced_logic getVariable "Drops") > 0) then {
_dropList lbSetCurSel 0;
};

0 comments on commit dfe0ecf

Please sign in to comment.