Commit a9596ffb authored by Martin Heistermann's avatar Martin Heistermann

Update object list when objects are renamed (Fixes #4).

parent e7813e24
......@@ -219,6 +219,15 @@ void PropertyVisPlugin::slotObjectUpdated( int _identifier, const UpdateType& _t
}
}
void PropertyVisPlugin::slotObjectPropertiesChanged(int _identifier)
{
// We get this signal when properties are renamed
if( OpenFlipper::Options::gui() && tool_->isVisible() )
{
updateGUI();
}
}
void PropertyVisPlugin::updateGUI()
{
DataType datatype = DataType(DATA_TRIANGLE_MESH | DATA_POLY_MESH);
......
......@@ -120,6 +120,7 @@ private slots:
// BaseInterface
void slotObjectUpdated( int _identifier, const UpdateType& _type ) override;
void slotObjectPropertiesChanged( int _identifier) override;
void slotAllCleared() override;
// LoadSaveInterface
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment