mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
fixed a bug
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@692 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ff31192c3f
commit
278a9bcc0b
@ -196,7 +196,10 @@ void QgsSiSyDialog::apply()
|
||||
p.setFont( f );
|
||||
p.drawText(35,pix->height()-10,name);//the problem again
|
||||
|
||||
m_vectorlayer->legendItem()->setPixmap(0,(*pix));
|
||||
if(m_vectorlayer->legendItem())
|
||||
{
|
||||
m_vectorlayer->legendItem()->setPixmap(0,(*pix));
|
||||
}
|
||||
|
||||
m_vectorlayer->setRenderer(renderer);
|
||||
m_vectorlayer->setRendererDialog(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user