display empty string if connection type is not known
This commit is contained in:
parent
36ea3a2bef
commit
1efe3376c1
@ -95,7 +95,7 @@ void TUI::updateTUI(list<Drive> *plistDrives, uint8_t u8SelectedEntry)
|
||||
string sTemp = it->sTemperatureToText();
|
||||
string sConnection = (it->connectionType == Drive::USB ? "USB" : it->connectionType == Drive::SATA ? "SATA"
|
||||
: it->connectionType == Drive::NVME ? "NVME"
|
||||
: "UNKNOWN");
|
||||
: "");
|
||||
|
||||
bool bSelectedEntry = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user