Skip to content

Commit

Permalink
Update ConnectionItemWidget.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
L0veSunshine authored Feb 19, 2022
1 parent c2b92a9 commit 78017f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/widgets/widgets/ConnectionItemWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void ConnectionItemWidget::OnConnectionItemRenamed(const ConnectionId &id, const
{
if (id == connectionId)
{
connNameLabel->setText((ConnectionManager->IsConnected({ connectionId, groupId }) ? "" : "") + newName);
connNameLabel->setText(newName + (ConnectionManager->IsConnected({ connectionId, groupId }) ? "" : ""));
originalItemName = newName;
const auto conn = ConnectionManager->GetConnectionMetaObject(connectionId);
this->setToolTip(newName + //
Expand Down

0 comments on commit 78017f9

Please sign in to comment.