Subversion Repositories svn1

Rev

Rev 313 | Rev 315 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 313 Rev 314
Line 116... Line 116...
116
**
116
**
117
----------------------------------------------------------------------------*/
117
----------------------------------------------------------------------------*/
118
 
118
 
119
void qmTeamDisplay::showEvent ( QShowEvent * event )
119
void qmTeamDisplay::showEvent ( QShowEvent * event )
120
{
120
{
121
    qDebug("showEvent::showEvent");
121
    //qDebug("showEvent::showEvent");
122
    if ( ! event->spontaneous() )
122
    if ( ! event->spontaneous() )
123
    {
123
    {
124
        if ( ! dirty)
124
        if ( ! dirty)
125
        {
125
        {
126
            populate(team);
126
            populate(team);
Line 211... Line 211...
211
        {
211
        {
212
            ui->category->addItem(config.team_class[ii].full_name, ii);
212
            ui->category->addItem(config.team_class[ii].full_name, ii);
213
            if (ii == team_buf.teamclass - 1)
213
            if (ii == team_buf.teamclass - 1)
214
            {
214
            {
215
                selectedIndex = ui->category->count() - 1;
215
                selectedIndex = ui->category->count() - 1;
216
                qDebug("ComboIndex:%d",ii);
216
                //qDebug("ComboIndex:%d",ii);
217
            }
217
            }
218
        }
218
        }
219
    }
219
    }
220
    ui->category->setCurrentIndex(selectedIndex);
220
    ui->category->setCurrentIndex(selectedIndex);
221
 
221