mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-09 22:30:53 +03:00
Fix buttons hiding on failed refresh
This commit is contained in:
@@ -746,6 +746,10 @@ QString MainWindow::getSmartctlOutput(const QStringList &arguments, bool root)
|
||||
}
|
||||
}
|
||||
|
||||
if (root && !initializing) {
|
||||
clearButtonGroup();
|
||||
}
|
||||
|
||||
return process.readAllStandardOutput();
|
||||
}
|
||||
|
||||
@@ -826,7 +830,6 @@ void MainWindow::on_actionGitHub_triggered()
|
||||
|
||||
void MainWindow::on_actionRescan_Refresh_triggered()
|
||||
{
|
||||
clearButtonGroup();
|
||||
scanDevices();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user