Fix typo that would cause crash

But only in the situation that one chose to do something the GUI doesn't support!  
Still worth it, though, and clear enough I'm not going to ask for review in this case.