summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibGUI/MultiView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibGUI/MultiView.cpp b/Libraries/LibGUI/MultiView.cpp
index 162a6c32c4..87334be9e4 100644
--- a/Libraries/LibGUI/MultiView.cpp
+++ b/Libraries/LibGUI/MultiView.cpp
@@ -137,6 +137,9 @@ void MultiView::set_model(RefPtr<Model> model)
void MultiView::set_model_column(int column)
{
+ if (m_model_column == column)
+ return;
+ m_model_column = column;
m_item_view->set_model_column(column);
m_columns_view->set_model_column(column);
}