When a county officer has more than one deputy he must designate one, by indorsement upon his appointment, as senior deputy, and in case of a vacancy in the office, by death, resignation, or otherwise, or of the officer’s absence, or inability to perform the duties of his office, such deputy must continue to perform the duties of the office during such vacancy, absence or inability.