Rotating objects in the inspector is broken

So when I rotate the object in the inspector it moves it but when rotating the object out of the inspector is normal.