Skip to content

Commit

Permalink
Revert commit 9eac458 (#1958).
Browse files Browse the repository at this point in the history
Indeed, I am not happy with that solution, hence a better one is coming
up.
  • Loading branch information
agarny committed Jan 25, 2019
1 parent 039408b commit 123865f
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -528,15 +528,9 @@ void CellmlAnnotationViewCellmlListWidget::initializeTreeViewWidget(bool pSelect

void CellmlAnnotationViewCellmlListWidget::populateModel()
{
// Make sure that we have a model before actually populating ourselves

iface::cellml_api::Model *cellmlModel = mCellmlFile->model();

if (!cellmlModel)
return;

// Retrieve the model's root

iface::cellml_api::Model *cellmlModel = mCellmlFile->model();
CellmlAnnotationViewCellmlElementItem *modelItem = new CellmlAnnotationViewCellmlElementItem(CellmlAnnotationViewCellmlElementItem::Model,
cellmlModel);

Expand Down

0 comments on commit 123865f

Please sign in to comment.