mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +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) {
 | 
					        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…
	
	Add table
		Add a link
		
	
		Reference in a new issue