1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

TableListBox: Fix spurious ListBox assertions

This commit is contained in:
reuk 2022-04-26 18:30:48 +01:00
parent 627afffeb4
commit a1e72b70df
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -339,7 +339,7 @@ private:
TableListBox::TableListBox (const String& name, TableListBoxModel* const m)
: ListBox (name, nullptr), model (m)
{
ListBox::model = this;
ListBox::setModel (this);
setHeader (std::make_unique<Header> (*this));
}