Different implementation of update overlay fix.

This commit is contained in:
cc9cii 2014-10-09 05:56:44 +11:00
parent 5d8022bdc5
commit b3ef7a71e2
4 changed files with 8 additions and 12 deletions

View file

@ -455,13 +455,6 @@ CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibil
return mControlElements;
}
void CSVRender::PagedWorldspaceWidget::elementSelectionChanged ()
{
WorldspaceWidget::elementSelectionChanged();
updateOverlay();
}
void CSVRender::PagedWorldspaceWidget::cellDataChanged (const QModelIndex& topLeft,
const QModelIndex& bottomRight)
{

View file

@ -88,10 +88,6 @@ namespace CSVRender
void cellSelectionChanged (const CSMWorld::CellSelection& selection);
protected slots:
virtual void elementSelectionChanged();
private slots:
virtual void cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight);

View file

@ -313,4 +313,9 @@ void CSVRender::WorldspaceWidget::elementSelectionChanged()
{
setVisibilityMask (getElementMask());
flagAsModified();
updateOverlay();
}
void CSVRender::WorldspaceWidget::updateOverlay()
{
}

View file

@ -88,6 +88,8 @@ namespace CSVRender
CSMDoc::Document& getDocument();
virtual void updateOverlay();
private:
void dragEnterEvent(QDragEnterEvent *event);
@ -125,7 +127,7 @@ namespace CSVRender
protected slots:
virtual void elementSelectionChanged();
void elementSelectionChanged();
signals: