From fede9963bed91dda8c90d6a7d04144cb7805fbb3 Mon Sep 17 00:00:00 2001 From: Dmitry Zagorodnev Date: Thu, 9 Mar 2023 15:32:48 +0300 Subject: [PATCH] Fix: lrcompletermodel.h -> child(int row) --- limereport/scripteditor/lrcompletermodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/scripteditor/lrcompletermodel.h b/limereport/scripteditor/lrcompletermodel.h index 9611e5d..8f218e8 100644 --- a/limereport/scripteditor/lrcompletermodel.h +++ b/limereport/scripteditor/lrcompletermodel.h @@ -13,7 +13,7 @@ public: ~CompleterItem(); int rowCount() const {return m_children.count();} CompleterItem *child(int row) const { - return m_children.count() < row ? m_children.at(row).data() : nullptr; + return m_children.count() > row ? m_children.at(row).data() : nullptr; } CompleterItem* parent() const {return m_parent;} int row() const{