diff options
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GTableView.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/LibGUI/GTableView.cpp b/LibGUI/GTableView.cpp index 622bbfce77..2a47d6820c 100644 --- a/LibGUI/GTableView.cpp +++ b/LibGUI/GTableView.cpp @@ -149,6 +149,9 @@ void GTableView::mousedown_event(GMouseEvent& event) void GTableView::mousemove_event(GMouseEvent& event) { + if (!model()) + return; + if (m_in_column_resize) { auto delta = event.position() - m_column_resize_origin; int new_width = m_column_resize_original_width + delta.x(); |