Let us edit this button in some fashion, like disabling it.
![]()
You can edit every button in the gui in Imperator, here's the entry from province_window.gui file:
Code:
button = {
position = { 144 43 }
visible = "[ProvinceWindow.IsPlayerProvince]"
onclick = "[ProvinceWindow.ChangeGovernor]"
enabled = "[ProvinceWindow.CanChangeGovernor]"
tooltip = "[ProvinceWindow.GetChangeGovernorTooltip]"
texture = "gfx/interface/buttons/button_select_new_person.dds"
clicksound = "event:/SFX/UI/Generic/sfx_ui_generic_sub_tab"
oversound = "event:/SFX/UI/Generic/sfx_ui_generic_mouse_over"
#size = { 43 43 }
}