fixed bug with duplication mark on monitoring table
This commit is contained in:
		
							parent
							
								
									884f9c78e0
								
							
						
					
					
						commit
						e3b1ead068
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -454,7 +454,6 @@ public final class ClientConnectionTable { | ||||||
|                 updateConnectionStatusColor(tableItem); |                 updateConnectionStatusColor(tableItem); | ||||||
|                 updateIndicatorValues(tableItem); |                 updateIndicatorValues(tableItem); | ||||||
|                 updateDuplicateColor(tableItem); |                 updateDuplicateColor(tableItem); | ||||||
| 
 |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | @ -472,6 +471,10 @@ public final class ClientConnectionTable { | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         void updateDuplicateColor(final TableItem tableItem) { |         void updateDuplicateColor(final TableItem tableItem) { | ||||||
|  | 
 | ||||||
|  |             tableItem.setBackground(0, null); | ||||||
|  |             tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor); | ||||||
|  | 
 | ||||||
|             if (!this.duplicateChecked) { |             if (!this.duplicateChecked) { | ||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
|  | @ -487,9 +490,6 @@ public final class ClientConnectionTable { | ||||||
|                     tableItem.setBackground(0, null); |                     tableItem.setBackground(0, null); | ||||||
|                     tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor); |                     tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor); | ||||||
|                 } |                 } | ||||||
|             } else { |  | ||||||
|                 tableItem.setBackground(0, null); |  | ||||||
|                 tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor); |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti