diff --git a/src/gtk/displayconfig.cpp b/src/gtk/displayconfig.cpp index 671de87a..c18e8815 100644 --- a/src/gtk/displayconfig.cpp +++ b/src/gtk/displayconfig.cpp @@ -122,11 +122,14 @@ void DisplayConfigDialog::vOnOutputChanged(VBA::Window::EVideoOutput _eOutput) return; if (_eOutput == VBA::Window::OutputOpenGL && m_poOutputOpenGLRadioButton->get_active()) + { m_poConfig->vSetKey("output", VBA::Window::OutputOpenGL); - else if (_eOutput == VBA::Window::OutputCairo && m_poOutputCairoRadioButton->get_active()) + m_poWindow->vApplyConfigScreenArea(); + } else if (_eOutput == VBA::Window::OutputCairo && m_poOutputCairoRadioButton->get_active()) + { m_poConfig->vSetKey("output", VBA::Window::OutputCairo); - - m_poWindow->vApplyConfigScreenArea(); + m_poWindow->vApplyConfigScreenArea(); + } } void DisplayConfigDialog::vOnScaleChanged()