mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
Qt: Fix performance counters showing up without VM
This commit is contained in:
parent
ba5d1a109e
commit
96d377a396
|
@ -353,6 +353,8 @@ void EmuThread::checkForSettingsChanges(const Settings& old_settings)
|
||||||
if (g_main_window)
|
if (g_main_window)
|
||||||
{
|
{
|
||||||
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
|
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
|
||||||
|
|
||||||
|
if (System::IsValid())
|
||||||
updatePerformanceCounters();
|
updatePerformanceCounters();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue