mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refactor(ui): Update plugin connection text
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user