From a1e72b70df6304083a6dafeaf030e022b05e7221 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 26 Apr 2022 18:30:48 +0100 Subject: [PATCH] TableListBox: Fix spurious ListBox assertions --- modules/juce_gui_basics/widgets/juce_TableListBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/widgets/juce_TableListBox.cpp b/modules/juce_gui_basics/widgets/juce_TableListBox.cpp index e33d1c4772..84e9a6bbf5 100644 --- a/modules/juce_gui_basics/widgets/juce_TableListBox.cpp +++ b/modules/juce_gui_basics/widgets/juce_TableListBox.cpp @@ -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
(*this)); }