mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Coins: disable sweep instead of hide when output unconfirmed
Suggested by moneroarbo
This commit is contained in:
parent
70f1846de6
commit
78eabc5ae7
1 changed files with 7 additions and 2 deletions
|
@ -111,10 +111,15 @@ void CoinsWidget::showContextMenu(const QPoint &point) {
|
|||
|
||||
if (!isSpent) {
|
||||
isFrozen ? menu->addAction(m_thawOutputAction) : menu->addAction(m_freezeOutputAction);
|
||||
}
|
||||
if (!isFrozen && isUnlocked) {
|
||||
|
||||
menu->addAction(m_sweepOutputAction);
|
||||
if (isFrozen || !isUnlocked) {
|
||||
m_sweepOutputAction->setDisabled(true);
|
||||
} else {
|
||||
m_sweepOutputAction->setEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
menu->addAction(m_viewOutputAction);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue