Changeset 445678d


Ignore:
Timestamp:
06/04/14 09:32:51 (3 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.2
Children:
1d3c297, befb32e
Parents:
39dd36a
Message:

Fix a bug in EasyPBI where it can accidentally remove the "/" from the similar app/plugin when added via the GUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/EasyPBI/mainGUI.cpp

    r975b8be r445678d  
    547547  if(ui->combo_plugins->count() == 1 && ui->combo_plugins->currentText().isEmpty() ){ ui->combo_plugins->clear(); } 
    548548  for(int i=0; i<portSel.length(); i++){ 
    549     ui->combo_plugins->addItem(portSel[i].remove(settings->value("portsdir")+"/")); 
     549    ui->combo_plugins->addItem(portSel[i]); 
    550550  } 
    551551  ui->push_config_save->setEnabled(true); 
     
    581581  if(ui->combo_similar->count() == 1 && ui->combo_similar->currentText().isEmpty() ){ ui->combo_similar->clear(); } 
    582582  for(int i=0; i<portSel.length(); i++){ 
    583     ui->combo_similar->addItem(portSel[i].remove(settings->value("portsdir")+"/")); 
     583    ui->combo_similar->addItem(portSel[i]); 
    584584  } 
    585585  ui->push_config_save->setEnabled(true);        
Note: See TracChangeset for help on using the changeset viewer.