| 177 | } |
| 178 | |
| 179 | void PanelMainProperties::notifyActionName(std::string_view /*_type*/, std::string_view _value, bool _final) |
| 180 | { |
| 181 | if (_final) |
| 182 | { |
| 183 | WidgetContainer* widgetContainer = EditorWidgets::getInstance().find(mCurrentWidget); |
| 184 | widgetContainer->setName(_value); |
| 185 | |
| 186 | UndoManager::getInstance().addValue(PR_PROPERTIES); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | void PanelMainProperties::notifyActionType(std::string_view /*_type*/, std::string_view _value, bool _final) |
| 191 | { |