Changeset e83d84a


Ignore:
Timestamp:
07/11/14 10:17:14 (9 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
23f86ea
Parents:
199f499
Message:

Fix a bug in the AppCafe? where the screenshot next/previous buttons were not being enabled properly.

File:
1 edited

Legend:

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

    r84b0c07 re83d84a  
    12591259  QStringList txt = ui->tool_app_cScreen->text().split("/"); 
    12601260  if(txt.length()!=2){ return; } //invalid text for some reason 
    1261   if(txt[0]!="1"){ ui->tool_app_nextScreen->setEnabled(true); } 
    1262   if(txt[0] != txt[1]){ ui->tool_app_prevScreen->setEnabled(true); } 
     1261  if(txt[0]!="1"){ ui->tool_app_prevScreen->setEnabled(true); } 
     1262  if(txt[0].toInt() < txt[1].toInt()){ ui->tool_app_nextScreen->setEnabled(true); } 
    12631263} 
    12641264 
Note: See TracChangeset for help on using the changeset viewer.