forked from mirror/openmw-tes3mp
Different implementation of update overlay fix.
This commit is contained in:
parent
5d8022bdc5
commit
b3ef7a71e2
4 changed files with 8 additions and 12 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -313,4 +313,9 @@ void CSVRender::WorldspaceWidget::elementSelectionChanged()
|
|||
{
|
||||
setVisibilityMask (getElementMask());
|
||||
flagAsModified();
|
||||
updateOverlay();
|
||||
}
|
||||
|
||||
void CSVRender::WorldspaceWidget::updateOverlay()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue