Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[GRASS] disable view output if output was not entered
  • Loading branch information
blazek committed Oct 16, 2015
1 parent 5e441ac commit 51a692d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -833,7 +833,7 @@ void QgsGrassModule::finished( int exitCode, QProcess::ExitStatus exitStatus )
mOutputTextBrowser->append( tr( "<B>Successfully finished</B>" ) );
mProgressBar->setValue( 100 );
mSuccess = true;
mViewButton->setEnabled( true );
mViewButton->setEnabled( !mOutputVector.isEmpty() || !mOutputRaster.isEmpty() );
mOptions->freezeOutput( false );
mCanvas->refresh();
}
Expand Down

0 comments on commit 51a692d

Please sign in to comment.