shaderAdapter.setSelectedId( id );
getShadersAsync();
}
private long loadShader( long id )
{
<BUG>Cursor cursor = getShader( id );
if( DataSource.closeIfEmpty( cursor ) )
return 0;
loadShader( cursor );</BUG>
cursor.close();

shaderAdapter.setSelectedId( id );
getShadersAsync();
}
private long loadShader( long id )
{
Cursor cursor = ShaderEditorApplication
.dataSource
.getShader( id );
if( DataSource.closeIfEmpty( cursor ) )
return 0;
setQualitySpinner( cursor );
loadShader( cursor );
cursor.close();
