mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-24 03:25:51 +00:00
Merge pull request 'Coins: disable sweep instead of hide when output unconfirmed' (#111) from tobtoht/feather:coins_hide_sweep into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/111 Reviewed-by: dsc <dsc@noreply.gitgud.wownero.nl>
This commit is contained in:
commit
3d5dae1f42
1 changed files with 7 additions and 2 deletions
|
@ -111,10 +111,15 @@ void CoinsWidget::showContextMenu(const QPoint &point) {
|
||||||
|
|
||||||
if (!isSpent) {
|
if (!isSpent) {
|
||||||
isFrozen ? menu->addAction(m_thawOutputAction) : menu->addAction(m_freezeOutputAction);
|
isFrozen ? menu->addAction(m_thawOutputAction) : menu->addAction(m_freezeOutputAction);
|
||||||
}
|
|
||||||
if (!isFrozen && isUnlocked) {
|
|
||||||
menu->addAction(m_sweepOutputAction);
|
menu->addAction(m_sweepOutputAction);
|
||||||
|
if (isFrozen || !isUnlocked) {
|
||||||
|
m_sweepOutputAction->setDisabled(true);
|
||||||
|
} else {
|
||||||
|
m_sweepOutputAction->setEnabled(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
menu->addAction(m_viewOutputAction);
|
menu->addAction(m_viewOutputAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue