Skip to content

Commit

Permalink
Remove modal warning when closing the bad layer dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 5, 2018
1 parent 99638cf commit f2654f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgshandlebadlayers.cpp
Expand Up @@ -364,6 +364,7 @@ void QgsHandleBadLayers::accept()
{
apply();

/*
if ( mLayerList->rowCount() > 0 &&
QMessageBox::warning( this,
tr( "Unhandled layer will be lost." ),
Expand All @@ -375,13 +376,15 @@ void QgsHandleBadLayers::accept()
{
return;
}
*/

QDialog::accept();
}

void QgsHandleBadLayers::reject()
{

/*
if ( mLayerList->rowCount() > 0 &&
QMessageBox::warning( this,
tr( "Unhandled layer will be lost." ),
Expand All @@ -393,6 +396,7 @@ void QgsHandleBadLayers::reject()
{
return;
}
*/

QDialog::reject();
}
Expand Down

0 comments on commit f2654f2

Please sign in to comment.