diff --git a/apps/opencs/view/render/pagedworldspacewidget.cpp b/apps/opencs/view/render/pagedworldspacewidget.cpp index d818de79b..318abb4b0 100644 --- a/apps/opencs/view/render/pagedworldspacewidget.cpp +++ b/apps/opencs/view/render/pagedworldspacewidget.cpp @@ -455,6 +455,13 @@ CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibil return mControlElements; } +void CSVRender::PagedWorldspaceWidget::elementSelectionChanged () +{ + WorldspaceWidget::elementSelectionChanged(); + + updateOverlay(); +} + void CSVRender::PagedWorldspaceWidget::cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight) { diff --git a/apps/opencs/view/render/pagedworldspacewidget.hpp b/apps/opencs/view/render/pagedworldspacewidget.hpp index 611ebd04b..26b8a386a 100644 --- a/apps/opencs/view/render/pagedworldspacewidget.hpp +++ b/apps/opencs/view/render/pagedworldspacewidget.hpp @@ -88,6 +88,10 @@ namespace CSVRender void cellSelectionChanged (const CSMWorld::CellSelection& selection); + protected slots: + + virtual void elementSelectionChanged(); + private slots: virtual void cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight); diff --git a/apps/opencs/view/render/worldspacewidget.hpp b/apps/opencs/view/render/worldspacewidget.hpp index 92b0bd71a..6204e7f02 100644 --- a/apps/opencs/view/render/worldspacewidget.hpp +++ b/apps/opencs/view/render/worldspacewidget.hpp @@ -125,7 +125,7 @@ namespace CSVRender protected slots: - void elementSelectionChanged(); + virtual void elementSelectionChanged(); signals: