mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	DebugInfoDialog: Add entry to show if wallet only contains funds in primary account
This commit is contained in:
		
							parent
							
								
									45b3f1ebde
								
							
						
					
					
						commit
						f2f6bf30b3
					
				
					 2 changed files with 20 additions and 5 deletions
				
			
		| 
						 | 
					@ -62,6 +62,7 @@ void DebugInfoDialog::updateInfo() {
 | 
				
			||||||
    ui->label_netType->setText(Utils::QtEnumToString(m_ctx->currentWallet->nettype()));
 | 
					    ui->label_netType->setText(Utils::QtEnumToString(m_ctx->currentWallet->nettype()));
 | 
				
			||||||
    ui->label_seedType->setText(m_ctx->currentWallet->getCacheAttribute("feather.seed").isEmpty() ? "25 word" : "14 word");
 | 
					    ui->label_seedType->setText(m_ctx->currentWallet->getCacheAttribute("feather.seed").isEmpty() ? "25 word" : "14 word");
 | 
				
			||||||
    ui->label_viewOnly->setText(m_ctx->currentWallet->viewOnly() ? "True" : "False");
 | 
					    ui->label_viewOnly->setText(m_ctx->currentWallet->viewOnly() ? "True" : "False");
 | 
				
			||||||
 | 
					    ui->label_primaryOnly->setText(m_ctx->currentWallet->balance(0) == m_ctx->currentWallet->balanceAll() ? "True" : "False");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    QString os = QSysInfo::prettyProductName();
 | 
					    QString os = QSysInfo::prettyProductName();
 | 
				
			||||||
    if (m_ctx->isTails) {
 | 
					    if (m_ctx->isTails) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -258,14 +258,14 @@
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
     <item row="19" column="0">
 | 
					     <item row="20" column="0">
 | 
				
			||||||
      <widget class="QLabel" name="label_24">
 | 
					      <widget class="QLabel" name="label_24">
 | 
				
			||||||
       <property name="text">
 | 
					       <property name="text">
 | 
				
			||||||
        <string>Timestamp:</string>
 | 
					        <string>Timestamp:</string>
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
     <item row="19" column="1">
 | 
					     <item row="20" column="1">
 | 
				
			||||||
      <widget class="QLabel" name="label_timestamp">
 | 
					      <widget class="QLabel" name="label_timestamp">
 | 
				
			||||||
       <property name="text">
 | 
					       <property name="text">
 | 
				
			||||||
        <string>TextLabel</string>
 | 
					        <string>TextLabel</string>
 | 
				
			||||||
| 
						 | 
					@ -275,14 +275,14 @@
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
     <item row="18" column="0">
 | 
					     <item row="19" column="0">
 | 
				
			||||||
      <widget class="QLabel" name="label_3">
 | 
					      <widget class="QLabel" name="label_3">
 | 
				
			||||||
       <property name="text">
 | 
					       <property name="text">
 | 
				
			||||||
        <string>Operating system:</string>
 | 
					        <string>Operating system:</string>
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
     <item row="18" column="1">
 | 
					     <item row="19" column="1">
 | 
				
			||||||
      <widget class="QLabel" name="label_OS">
 | 
					      <widget class="QLabel" name="label_OS">
 | 
				
			||||||
       <property name="text">
 | 
					       <property name="text">
 | 
				
			||||||
        <string>TextLabel</string>
 | 
					        <string>TextLabel</string>
 | 
				
			||||||
| 
						 | 
					@ -292,7 +292,7 @@
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
     <item row="17" column="1">
 | 
					     <item row="18" column="1">
 | 
				
			||||||
      <widget class="Line" name="line_4">
 | 
					      <widget class="Line" name="line_4">
 | 
				
			||||||
       <property name="orientation">
 | 
					       <property name="orientation">
 | 
				
			||||||
        <enum>Qt::Horizontal</enum>
 | 
					        <enum>Qt::Horizontal</enum>
 | 
				
			||||||
| 
						 | 
					@ -316,6 +316,20 @@
 | 
				
			||||||
       </property>
 | 
					       </property>
 | 
				
			||||||
      </widget>
 | 
					      </widget>
 | 
				
			||||||
     </item>
 | 
					     </item>
 | 
				
			||||||
 | 
					     <item row="17" column="1">
 | 
				
			||||||
 | 
					      <widget class="QLabel" name="label_primaryOnly">
 | 
				
			||||||
 | 
					       <property name="text">
 | 
				
			||||||
 | 
					        <string>TextLabel</string>
 | 
				
			||||||
 | 
					       </property>
 | 
				
			||||||
 | 
					      </widget>
 | 
				
			||||||
 | 
					     </item>
 | 
				
			||||||
 | 
					     <item row="17" column="0">
 | 
				
			||||||
 | 
					      <widget class="QLabel" name="label_11">
 | 
				
			||||||
 | 
					       <property name="text">
 | 
				
			||||||
 | 
					        <string>Primary only:</string>
 | 
				
			||||||
 | 
					       </property>
 | 
				
			||||||
 | 
					      </widget>
 | 
				
			||||||
 | 
					     </item>
 | 
				
			||||||
    </layout>
 | 
					    </layout>
 | 
				
			||||||
   </item>
 | 
					   </item>
 | 
				
			||||||
   <item>
 | 
					   <item>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue