Changeset ed1ae2f


Ignore:
Timestamp:
03/07/14 10:34:30 (6 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
fabdcd2
Parents:
49ed8f0
Message:

Fix a seg-fault in EasyPBI when removing an external-link without one selected.

File:
1 edited

Legend:

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

    r0c42827 red1ae2f  
    12631263  //Get the currently selected link 
    12641264  QTreeWidgetItem *line = ui->tree_el_view->currentItem(); 
     1265  if(line == 0){ return; } //no item selected 
    12651266  if(line->columnCount() != 3){ return; } 
    12661267  QString file = line->text(0); 
Note: See TracChangeset for help on using the changeset viewer.