Serves me right for being lazy, it should really have been a button.