mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 11:59:57 +03:00
Don't update the UI if the output is empty
This commit is contained in:
@@ -171,7 +171,9 @@ void MainWindow::scanDevices()
|
||||
deviceOutputs.append(jsonFragment);
|
||||
}
|
||||
|
||||
updateUI();
|
||||
if (!allDevicesOutput.isEmpty()) {
|
||||
updateUI();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::updateUI()
|
||||
|
||||
Reference in New Issue
Block a user