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:
@ -2573,7 +2573,8 @@ SwingUtilities.invokeLater( () -> loadContactList() );
|
|||||||
// Add Unfiled Group
|
// Add Unfiled Group
|
||||||
if(EventQueue.isDispatchThread()) {
|
if(EventQueue.isDispatchThread()) {
|
||||||
unfiledGroup = UIComponentRegistry.createContactGroup(Res.getString("unfiled"));
|
unfiledGroup = UIComponentRegistry.createContactGroup(Res.getString("unfiled"));
|
||||||
addContactGroup(unfiledGroup);
|
// Only show the "Unfiled" group if it is not empty
|
||||||
|
if (unfiledGroup.hasAvailableContacts()) addContactGroup(unfiledGroup);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user