Qt: Fix performance counters showing up without VM
This commit is contained in:
parent
ba5d1a109e
commit
96d377a396
|
@ -353,7 +353,9 @@ void EmuThread::checkForSettingsChanges(const Settings& old_settings)
|
|||
if (g_main_window)
|
||||
{
|
||||
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
|
||||
updatePerformanceCounters();
|
||||
|
||||
if (System::IsValid())
|
||||
updatePerformanceCounters();
|
||||
}
|
||||
|
||||
if (g_gpu_device)
|
||||
|
|
Loading…
Reference in New Issue