fix inconsistent use of tabs and spaces in indentation
Fixed #364 Repository setting menu doesn't work on Mac version.