I am writing a plugin that replaces the text of a composer label based on its itemID.
When I change the text of the label using:
item.setText("Hello World")
the label changes on the composer but the text in the Item Properties panel for the label doesn't, it stays as what it was originally.
If I call item.displayText()
before and after I change the label text this returns the correct information.
How do I get the text to change in the Item Properties panel? Using qgis 1.8 and 1.9