mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix OSD being off by default
This commit is contained in:
parent
168c9cb8d6
commit
a56bfab48e
|
@ -1867,7 +1867,7 @@ void Window::setupOptions() {
|
|||
|
||||
ConfigOption* showOSD = m_config->addOption("showOSD");
|
||||
showOSD->connect([this](const QVariant& value) {
|
||||
if (m_display) {
|
||||
if (m_display && !value.isNull()) {
|
||||
m_display->showOSDMessages(value.toBool());
|
||||
}
|
||||
}, this);
|
||||
|
|
Loading…
Reference in New Issue