mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-10 14:50: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();
|
||||
}
|
||||
|
||||
|
||||
@@ -394,7 +394,7 @@
|
||||
<iconset theme="view-refresh"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Rescan and Refresh</string>
|
||||
<string>Refresh Devices</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>F5</string>
|
||||
|
||||
Reference in New Issue
Block a user