mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 04:33:03 +03:00
Fix: lrcompletermodel.h -> child(int row)
This commit is contained in:
parent
de850125aa
commit
fede9963be
@ -13,7 +13,7 @@ public:
|
|||||||
~CompleterItem();
|
~CompleterItem();
|
||||||
int rowCount() const {return m_children.count();}
|
int rowCount() const {return m_children.count();}
|
||||||
CompleterItem *child(int row) const {
|
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;}
|
CompleterItem* parent() const {return m_parent;}
|
||||||
int row() const{
|
int row() const{
|
||||||
|
Loading…
Reference in New Issue
Block a user