mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-06 01:41:29 +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();
|
return process.readAllStandardOutput();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -826,7 +830,6 @@ void MainWindow::on_actionGitHub_triggered()
|
|||||||
|
|
||||||
void MainWindow::on_actionRescan_Refresh_triggered()
|
void MainWindow::on_actionRescan_Refresh_triggered()
|
||||||
{
|
{
|
||||||
clearButtonGroup();
|
|
||||||
scanDevices();
|
scanDevices();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -394,7 +394,7 @@
|
|||||||
<iconset theme="view-refresh"/>
|
<iconset theme="view-refresh"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Rescan and Refresh</string>
|
<string>Refresh Devices</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>F5</string>
|
<string>F5</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user