mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
Different implementation of update overlay fix.
This commit is contained in:
parent
5d8022bdc5
commit
b3ef7a71e2
@ -455,13 +455,6 @@ CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibil
|
|||||||
return mControlElements;
|
return mControlElements;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::PagedWorldspaceWidget::elementSelectionChanged ()
|
|
||||||
{
|
|
||||||
WorldspaceWidget::elementSelectionChanged();
|
|
||||||
|
|
||||||
updateOverlay();
|
|
||||||
}
|
|
||||||
|
|
||||||
void CSVRender::PagedWorldspaceWidget::cellDataChanged (const QModelIndex& topLeft,
|
void CSVRender::PagedWorldspaceWidget::cellDataChanged (const QModelIndex& topLeft,
|
||||||
const QModelIndex& bottomRight)
|
const QModelIndex& bottomRight)
|
||||||
{
|
{
|
||||||
|
@ -88,10 +88,6 @@ namespace CSVRender
|
|||||||
|
|
||||||
void cellSelectionChanged (const CSMWorld::CellSelection& selection);
|
void cellSelectionChanged (const CSMWorld::CellSelection& selection);
|
||||||
|
|
||||||
protected slots:
|
|
||||||
|
|
||||||
virtual void elementSelectionChanged();
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
virtual void cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight);
|
virtual void cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight);
|
||||||
|
@ -313,4 +313,9 @@ void CSVRender::WorldspaceWidget::elementSelectionChanged()
|
|||||||
{
|
{
|
||||||
setVisibilityMask (getElementMask());
|
setVisibilityMask (getElementMask());
|
||||||
flagAsModified();
|
flagAsModified();
|
||||||
|
updateOverlay();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CSVRender::WorldspaceWidget::updateOverlay()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
@ -88,6 +88,8 @@ namespace CSVRender
|
|||||||
|
|
||||||
CSMDoc::Document& getDocument();
|
CSMDoc::Document& getDocument();
|
||||||
|
|
||||||
|
virtual void updateOverlay();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void dragEnterEvent(QDragEnterEvent *event);
|
void dragEnterEvent(QDragEnterEvent *event);
|
||||||
@ -125,7 +127,7 @@ namespace CSVRender
|
|||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
virtual void elementSelectionChanged();
|
void elementSelectionChanged();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user