Commit 4f930191 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'update-on-rename' into 'master'

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

Closes #4

See merge request !9
parents e7813e24 a9596ffb
......@@ -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