qt: Drop menu separator that separates nothing

pull/826/head
Hennadii Stepanov 4 years ago
parent 1398a6536c
commit 963e12058f
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -127,7 +127,6 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode,
contextMenu->addAction(deleteAction);
connect(deleteAction, &QAction::triggered, this, &AddressBookPage::on_deleteAddress_clicked);
}
contextMenu->addSeparator();
// Connect signals for context menu actions
connect(copyAddressAction, &QAction::triggered, this, &AddressBookPage::on_copyAddress_clicked);
@ -135,7 +134,6 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode,
connect(editAction, &QAction::triggered, this, &AddressBookPage::onEditAction);
connect(ui->tableView, &QWidget::customContextMenuRequested, this, &AddressBookPage::contextualMenu);
connect(ui->closeButton, &QPushButton::clicked, this, &QDialog::accept);
GUIUtil::handleCloseWindowShortcut(this);

Loading…
Cancel
Save