mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 07:45:34 +00:00
Update overlay upon control elements button signal.
This commit is contained in:
parent
e2560de05a
commit
5d8022bdc5
3 changed files with 12 additions and 1 deletions
|
@ -455,6 +455,13 @@ 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,6 +88,10 @@ 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);
|
||||||
|
|
|
@ -125,7 +125,7 @@ namespace CSVRender
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
void elementSelectionChanged();
|
virtual void elementSelectionChanged();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue