mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-1758 - Do not show UNFILED group if it's empty (#247)
This commit is contained in:
@ -2572,8 +2572,9 @@ SwingUtilities.invokeLater( () -> loadContactList() );
|
||||
if (unfiledGroup == null) {
|
||||
// Add Unfiled Group
|
||||
if(EventQueue.isDispatchThread()) {
|
||||
unfiledGroup = UIComponentRegistry.createContactGroup(Res.getString("unfiled"));
|
||||
addContactGroup(unfiledGroup);
|
||||
unfiledGroup = UIComponentRegistry.createContactGroup(Res.getString("unfiled"));
|
||||
// Only show the "Unfiled" group if it is not empty
|
||||
if (unfiledGroup.hasAvailableContacts()) addContactGroup(unfiledGroup);
|
||||
}
|
||||
else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user