qgsopenvectorlayerdialog.cpp_add_empty_dataset_warning.patch

Patch for Open vector layer dialog - Alexander Bruy, 2009-12-09 11:10 AM

Download (769 Bytes)

View differences:

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