update clone sprite text
This commit is contained in:
parent
715c37572e
commit
c3a5e05f49
1 changed files with 2 additions and 0 deletions
|
@ -443,6 +443,7 @@ void CloneObjectFrame::connectSignals() {
|
|||
connect(this->combo_target_map, &QComboBox::currentTextChanged, [this](const QString &text) {
|
||||
this->clone->setTargetMap(text);
|
||||
this->clone->getPixmapItem()->updatePixmap();
|
||||
this->combo_sprite->setCurrentText(this->clone->getGfx());
|
||||
this->clone->modify();
|
||||
});
|
||||
|
||||
|
@ -451,6 +452,7 @@ void CloneObjectFrame::connectSignals() {
|
|||
connect(this->spinner_target_id, QOverload<int>::of(&QSpinBox::valueChanged), [this](int value) {
|
||||
this->clone->setTargetID(value);
|
||||
this->clone->getPixmapItem()->updatePixmap();
|
||||
this->combo_sprite->setCurrentText(this->clone->getGfx());
|
||||
this->clone->modify();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue