Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix a seg-fault in EasyPBI when removing an external-link without one…
Browse files Browse the repository at this point in the history
… selected.
  • Loading branch information
Ken Moore committed Mar 7, 2014
1 parent 49ed8f0 commit ed1ae2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-qt4/EasyPBI/mainGUI.cpp
Expand Up @@ -1262,6 +1262,7 @@ void MainGUI::on_push_el_add_clicked(){
void MainGUI::on_push_el_remove_clicked(){
//Get the currently selected link
QTreeWidgetItem *line = ui->tree_el_view->currentItem();
if(line == 0){ return; } //no item selected
if(line->columnCount() != 3){ return; }
QString file = line->text(0);
QString linkto = line->text(1);
Expand Down

0 comments on commit ed1ae2f

Please sign in to comment.