change event object sprite when using completer
This commit is contained in:
parent
303cf37b48
commit
ec98312340
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ void MainWindow::updateSelectedObjects() {
|
|||
frame->ui->sprite->setVisible(true);
|
||||
frame->ui->comboBox_sprite->addItems(event_obj_gfx_constants.keys());
|
||||
frame->ui->comboBox_sprite->setCurrentText(item->event->get("sprite"));
|
||||
connect(frame->ui->comboBox_sprite, SIGNAL(activated(QString)), item, SLOT(set_sprite(QString)));
|
||||
connect(frame->ui->comboBox_sprite, &QComboBox::currentTextChanged, item, &DraggablePixmapItem::set_sprite);
|
||||
|
||||
/*
|
||||
frame->ui->script->setVisible(true);
|
||||
|
|
Loading…
Reference in a new issue