Show
Ignore:
Timestamp:
06/15/08 00:45:44 (6 months ago)
Author:
flynd
Message:

Make sure groups appearing in view get correct expanded/collapsed state. Default new groups to expanded state.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/contactlist/contactlist.cpp

    r6309 r6311  
    109109    { 
    110110      unsigned short gid = sig->Argument(); 
     111 
     112      // Set inital expanded state for new group 
     113      Config::ContactList::instance()->setGroupState(gid, true); 
     114 
    111115      ContactGroup* newGroup = createGroup(gid); 
    112  
    113116      beginInsertRows(QModelIndex(), myUserGroups.size(), myUserGroups.size()); 
    114117      myUserGroups.append(newGroup);