| 158 | } |
| 159 | |
| 160 | ScriptObject* get(const std::string& id) { |
| 161 | auto it = m_widgets.find(id); |
| 162 | return it != m_widgets.end() ? it->second.get() : nullptr; |
| 163 | } |
| 164 | |
| 165 | ScriptObject* add(const std::string& type, const std::string& id) { |
| 166 | auto dialog = this->dialog(); |
no test coverage detected