Skip to content
Permalink
Browse files

Remove modal warning when closing the bad layer dialog

  • Loading branch information
elpaso committed Oct 29, 2018
1 parent 99638cf commit f2654f25c6add7b81b26c12630189564cde4318d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgshandlebadlayers.cpp
@@ -364,6 +364,7 @@ void QgsHandleBadLayers::accept()
{
apply();

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

QDialog::reject();
}

0 comments on commit f2654f2

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