mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
fixed a bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@692 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
f1ae73f761
commit
94cadd6e61
@ -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