From 8c196004b62af113156f2260633c097976cdb24c Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Thu, 6 Sep 2018 18:47:43 +0200 Subject: [PATCH] Do not pass parent arguement when calling Qt createIndex method --- python/python/ert_gui/tools/plot/plot_case_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/python/ert_gui/tools/plot/plot_case_model.py b/python/python/ert_gui/tools/plot/plot_case_model.py index cb1edfe0527..2fa57efbc7c 100644 --- a/python/python/ert_gui/tools/plot/plot_case_model.py +++ b/python/python/ert_gui/tools/plot/plot_case_model.py @@ -16,7 +16,7 @@ def __init__(self): self.__data = None def index(self, row, column, parent=None, *args, **kwargs): - return self.createIndex(row, column, parent) + return self.createIndex(row, column) def parent(self, index=None): return QModelIndex()