device page: disable resize button if there are no zones

I have an unsupported Asus GPU which shows up as a device but doesn't have any zone configured. Clicking on the Resize button leads to an out-of-bounds read in the empty zones vector to zones[-1] (default value of the QComboBox property).

The fix is to entirely disable the button when we're disabling the zones box.

Merge request reports

Loading