Extra check and comment

This commit is contained in:
Henrik Rydgård
2024-01-21 13:47:11 +01:00
parent 2d9afaa6df
commit b2c19695ed
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -200,6 +200,9 @@ UI::EventReturn DriverManagerScreen::OnCustomDriverChange(UI::EventParams &e) {
}
UI::EventReturn DriverManagerScreen::OnCustomDriverUninstall(UI::EventParams &e) {
if (e.s.empty()) {
return UI::EVENT_DONE;
}
INFO_LOG(G3D, "Uninstalling driver: %s", e.s.c_str());
Path folder = GetDriverPath() / e.s;