Skip to content
Permalink
Browse files

[relations] No crash when clicking remove with no selection

Fix #9224
  • Loading branch information
m-kuhn committed Dec 18, 2013
1 parent 9d69374 commit ffc1abaf2d8002b93b77886c8a2c4356b1798597
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsrelationmanagerdialog.cpp
@@ -118,6 +118,7 @@ void QgsRelationManagerDialog::on_mBtnAddRelation_clicked()

void QgsRelationManagerDialog::on_mBtnRemoveRelation_clicked()
{
if ( mRelationsTable->currentIndex().isValid() )
mRelationsTable->removeRow( mRelationsTable->currentItem()->row() );
}

0 comments on commit ffc1aba

Please sign in to comment.
You can’t perform that action at this time.