Ignore:
Timestamp:
02/26/14 10:45:27 (10 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
24f4449
Parents:
9474a65
Message:

Fix the auto-update refresh problem after it is clicked. It flickers once, but at least it correctly shows the status of the auto-update for the app now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/mainUI.cpp

    r316d4d3 r7e41a70  
    317317    }  
    318318  } 
     319  //If the installed app page is visible, be sure to update it too 
     320  if( ui->stackedWidget->currentWidget() == ui->page_install_details){ 
     321    updateInstallDetails(cDetails); 
     322  } 
    319323  slotUpdateSelectedPBI();; //Update the info boxes 
    320324  slotDisplayStats(); 
     
    334338  } 
    335339  ui->tool_install_performaction->setEnabled(chkd); 
    336   if(ui->stackedWidget->currentWidget() != ui->page_app){ 
     340  if(ui->stackedWidget->currentWidget() != ui->page_install_details){ 
    337341    cDetails.clear(); //Make sure this is cleared if not on the details page 
    338342  } 
     
    442446  } 
    443447  //Now force the info on the page to be updated in a moment (need time for database to update) 
    444   QTimer::singleShot(200, this, SLOT(on_tool_install_details_clicked()) ); 
     448  //QTimer::singleShot(500, this, SLOT(on_tool_install_details_clicked()) ); 
    445449} 
    446450 
     
    926930} 
    927931 
    928 void MainUI::slotGoToCatClicked(QAction* act){ 
    929   slotGoToCategory(act->whatsThis());    
    930 } 
    931  
    932932void MainUI::slotGoToApp(QString appID){ 
    933933  qDebug() << "Show App:" << appID; 
Note: See TracChangeset for help on using the changeset viewer.