Qt: Fix performance counters showing up without VM

This commit is contained in:
Stenzek 2023-12-07 14:14:06 +10:00
parent ba5d1a109e
commit 96d377a396
No known key found for this signature in database

View file

@ -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();
} }