More UI civic beautification.
This commit is contained in:
parent
a388830983
commit
4ddf97be4e
4 changed files with 88 additions and 59 deletions
|
@ -105,9 +105,8 @@ void NetworkWidget::on_networkIdPushButton_clicked()
|
|||
QApplication::clipboard()->setText(ui->networkIdPushButton->text());
|
||||
}
|
||||
|
||||
void NetworkWidget::on_ipListWidget_doubleClicked(const QModelIndex &index)
|
||||
void NetworkWidget::on_ipListWidget_itemActivated(QListWidgetItem *item)
|
||||
{
|
||||
QListWidgetItem *ci = ui->ipListWidget->currentItem();
|
||||
if (ci)
|
||||
QApplication::clipboard()->setText(ci->text());
|
||||
if (item)
|
||||
QApplication::clipboard()->setText(item->text());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue