File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,18 @@ void SelectedItemModel::updateObject()
100100 if (editor_found != editors.end ()) {
101101 auto & editor = (*editor_found).second ;
102102 makeItemEditor (prop.name ,
103- value_item,
104- object_,
105- EditorItemDelegate::getEditorType (prop.value ),
106- editor);
103+ value_item,
104+ object_,
105+ EditorItemDelegate::getEditorType (prop.value ),
106+ editor);
107107 }
108108 }
109109 } catch (const std::runtime_error& error) {
110- QMessageBox::critical (qobject_cast<QWidget*>(parent ()), error.what (), " Failed to populate properties." );
111- appendRow ({makeItem (QString::fromStdString (" error" )), makeItem (QString (error.what ()))});
110+ QMessageBox::critical (qobject_cast<QWidget*>(parent ()),
111+ error.what (),
112+ " Failed to populate properties." );
113+ appendRow ({makeItem (QString::fromStdString (" error" )),
114+ makeItem (QString (error.what ()))});
112115 }
113116
114117 endResetModel ();
You can’t perform that action at this time.
0 commit comments