diff options
Diffstat (limited to 'Libraries/LibGUI/AbstractView.cpp')
-rw-r--r-- | Libraries/LibGUI/AbstractView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/AbstractView.cpp b/Libraries/LibGUI/AbstractView.cpp index 9270f6b54c..c7f40422dc 100644 --- a/Libraries/LibGUI/AbstractView.cpp +++ b/Libraries/LibGUI/AbstractView.cpp @@ -63,11 +63,11 @@ void AbstractView::set_model(RefPtr<Model> model) m_model = move(model); if (m_model) m_model->register_view({}, *this); - did_update_model(GUI::Model::InvalidateAllIndexes); + model_did_update(GUI::Model::InvalidateAllIndexes); scroll_to_top(); } -void AbstractView::did_update_model(unsigned flags) +void AbstractView::model_did_update(unsigned int flags) { // FIXME: It's unfortunate that we lose so much view state when the model updates in any way. stop_editing(); |