refactor(ui): Update plugin connection text

This commit is contained in:
Lars Toenning
2024-11-15 08:56:08 +01:00
parent d125d84d78
commit efc39a564b

View File

@@ -382,12 +382,12 @@ namespace swift::gui::components
if (!info.isUnspecified()) if (!info.isUnspecified())
{ {
m_pluginLoaded = true; m_pluginLoaded = true;
ui->lbl_PluginInfo->setText(info.getDescription()); ui->lbl_PluginInfo->setText("Connected to: " % info.getName());
} }
else else
{ {
m_pluginLoaded = false; m_pluginLoaded = false;
ui->lbl_PluginInfo->setText("No plugin loaded"); ui->lbl_PluginInfo->setText("No connection to simulator");
} }
this->setGuiValues(); this->setGuiValues();
} }