A stupid function to set the brush when we open a file