mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-22 17:48:48 +02:00
Coins: add tool button
This commit is contained in:
+2
-1
@@ -29,6 +29,7 @@ CoinsWidget::CoinsWidget(Wallet *wallet, QWidget *parent)
|
||||
m_showSpentAction = m_headerMenu->addAction("Show spent outputs", this, &CoinsWidget::setShowSpent);
|
||||
m_showSpentAction->setCheckable(true);
|
||||
connect(ui->coins->header(), &QHeaderView::customContextMenuRequested, this, &CoinsWidget::showHeaderMenu);
|
||||
ui->btn_options->setMenu(m_headerMenu);
|
||||
|
||||
// copy menu
|
||||
m_copyMenu->addAction("Public Key", this, [this]{copy(copyField::PubKey);});
|
||||
@@ -102,7 +103,7 @@ void CoinsWidget::setModel(CoinsModel * model, Coins * coins) {
|
||||
}
|
||||
|
||||
void CoinsWidget::setSearchbarVisible(bool visible) {
|
||||
ui->search->setVisible(visible);
|
||||
ui->frame_search->setVisible(visible);
|
||||
}
|
||||
|
||||
void CoinsWidget::focusSearchbar() {
|
||||
|
||||
Reference in New Issue
Block a user