Bug fix recent change to GUI source.

Small bug introduced in #1016 890b55e7041 and missed in review.

@benfitzpatrick - please review.