repo add should clear the form first

implement repo add/remove

fix crash when closing the settings window

(0) -30 -10 -3 +3 +10 +30 tip

mercurial