mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Coins: disable sweep instead of hide when output unconfirmed
Suggested by moneroarbo
This commit is contained in:
+7
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user