@simon1066, what happens if you change the line you identified to read

Code:
$opc_disable_address_change = !$editShippingButtonLink;