mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
refactor(ui): Update plugin connection text
This commit is contained in:
@@ -382,12 +382,12 @@ namespace swift::gui::components
|
||||
if (!info.isUnspecified())
|
||||
{
|
||||
m_pluginLoaded = true;
|
||||
ui->lbl_PluginInfo->setText(info.getDescription());
|
||||
ui->lbl_PluginInfo->setText("Connected to: " % info.getName());
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pluginLoaded = false;
|
||||
ui->lbl_PluginInfo->setText("No plugin loaded");
|
||||
ui->lbl_PluginInfo->setText("No connection to simulator");
|
||||
}
|
||||
this->setGuiValues();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user