diff options
-rw-r--r-- | macosx/Controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 619a88416..2af28a8fa 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -4640,7 +4640,7 @@ the user is using "Custom" settings by determining the sender*/ or not clicking on a preset will do anything */ if ([fPresetsAdd isEnabled]) { - if ([tableView selectedRow]) + if ([tableView selectedRow] >= 0) { /* we get the chosen preset from the UserPresets array */ chosenPreset = [UserPresets objectAtIndex:[tableView selectedRow]]; |