Skip to content

Commit fa97845

Browse files
authored
Hide "Go To Target" button when no trigger action parameters are selected
1 parent 7c12e9c commit fa97845

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/TSMapEditor/UI/Windows/TriggersWindow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,6 +1950,7 @@ private void LbActionParameters_SelectedIndexChanged(object sender, EventArgs e)
19501950
if (lbActionParameters.SelectedItem == null || editedTrigger == null || lbActions.SelectedItem == null)
19511951
{
19521952
tbActionParameterValue.Text = string.Empty;
1953+
btnActionGoToTarget.Disable();
19531954
return;
19541955
}
19551956

0 commit comments

Comments
 (0)