Skip to content
Permalink
Browse files

improve error message in the Road Graph plugin (fix #12160)

  • Loading branch information
alexbruy committed Jan 20, 2016
1 parent 44559fe commit cc33c126609ac427dc6119daf8611a578443d13e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/roadgraph/shortestpathwidget.cpp
@@ -248,7 +248,7 @@ QgsGraph* RgShortestPathWidget::getPath( QgsPoint& p1, QgsPoint& p2 )
const QgsGraphDirector *director = mPlugin->director();
if ( !director )
{
QMessageBox::critical( this, tr( "Plugin isn't configured" ), tr( "Plugin isn't configured!" ) );
QMessageBox::critical( this, tr( "Plugin isn't configured" ), tr( "Plugin isn't configured! Please go to the Vector → Road graph → Settings to configure it." ) );
return nullptr;
}
connect( director, SIGNAL( buildProgress( int, int ) ), mPlugin->iface()->mainWindow(), SLOT( showProgress( int, int ) ) );

0 comments on commit cc33c12

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