Qt: Fix crash in graphics settings on Linux

This commit is contained in:
Connor McLaughlin 2023-05-04 01:25:03 +10:00 committed by refractionpcsx2
parent bf6a0a035a
commit e133e89b6b
1 changed files with 2 additions and 1 deletions

View File

@ -959,7 +959,8 @@ void GraphicsSettingsWidget::updateRendererDependentOptions()
m_ui.disableFramebufferFetch->setDisabled(is_sw_dx);
m_ui.exclusiveFullscreenControl->setEnabled(is_auto || is_vk);
if (m_ui.exclusiveFullscreenControl)
m_ui.exclusiveFullscreenControl->setEnabled(is_auto || is_vk);
// populate adapters
std::vector<std::string> adapters;