qgsopenvectorlayerdialog.cpp_add_empty_dataset_warning.patch
src/app/ogr/qgsopenvectorlayerdialog.cpp (working copy) | ||
---|---|---|
346 | 346 |
protocolURI->text() |
347 | 347 |
) ); |
348 | 348 |
} |
349 |
else if ( radioSrcDirectory->isChecked() ) |
|
350 |
{ |
|
351 |
if ( inputSrcDataset->text().isEmpty() ) |
|
352 |
{ |
|
353 |
QMessageBox::information( this, |
|
354 |
tr( "Add directory" ), |
|
355 |
tr( "Dataset not defined. Please enter valid dataset path and try again." ) ); |
|
356 |
return; |
|
357 |
} |
|
358 |
} |
|
349 | 359 |
// Save the used encoding |
350 | 360 |
settings.setValue( "/UI/encoding", encoding() ); |
351 | 361 |