mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +00:00
Disable widgets in the cell creator.
This commit is contained in:
parent
c87d9ff38d
commit
f390c7f4b0
2 changed files with 9 additions and 1 deletions
|
@ -79,3 +79,9 @@ void CSVWorld::CellCreator::valueChanged (int index)
|
||||||
{
|
{
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CSVWorld::CellCreator::toggleWidgets(bool active)
|
||||||
|
{
|
||||||
|
CSVWorld::GenericCreator::toggleWidgets(active);
|
||||||
|
mType->setEnabled(active);
|
||||||
|
}
|
||||||
|
|
|
@ -29,6 +29,8 @@ namespace CSVWorld
|
||||||
|
|
||||||
virtual void reset();
|
virtual void reset();
|
||||||
|
|
||||||
|
virtual void toggleWidgets(bool active = true);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
void setType (int index);
|
void setType (int index);
|
||||||
|
|
Loading…
Reference in a new issue