Skip to content

Commit 51a692d

Browse files
committedOct 16, 2015
[GRASS] disable view output if output was not entered
1 parent 5e441ac commit 51a692d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ void QgsGrassModule::finished( int exitCode, QProcess::ExitStatus exitStatus )
833833
mOutputTextBrowser->append( tr( "<B>Successfully finished</B>" ) );
834834
mProgressBar->setValue( 100 );
835835
mSuccess = true;
836-
mViewButton->setEnabled( true );
836+
mViewButton->setEnabled( !mOutputVector.isEmpty() || !mOutputRaster.isEmpty() );
837837
mOptions->freezeOutput( false );
838838
mCanvas->refresh();
839839
}

0 commit comments

Comments
 (0)
Please sign in to comment.