diff --git a/interface/src/ui/AnimationsDialog.cpp b/interface/src/ui/AnimationsDialog.cpp index 1586d9ebad..9230d70f55 100644 --- a/interface/src/ui/AnimationsDialog.cpp +++ b/interface/src/ui/AnimationsDialog.cpp @@ -96,7 +96,7 @@ AnimationPanel::AnimationPanel(AnimationsDialog* dialog, const AnimationHandlePo QHBoxLayout* urlBox = new QHBoxLayout(); layout->addRow("URL:", urlBox); urlBox->addWidget(_url = new QLineEdit(handle->getURL().toString()), 1); - connect(_url, SIGNAL(returnPressed()), SLOT(updateHandle())); + connect(_url, SIGNAL(editingFinished()), SLOT(updateHandle())); QPushButton* chooseURL = new QPushButton("Choose"); urlBox->addWidget(chooseURL); connect(chooseURL, SIGNAL(clicked(bool)), SLOT(chooseURL())); @@ -168,7 +168,7 @@ void AnimationPanel::chooseURL() { } _animationDirectory.set(QFileInfo(filename).path()); _url->setText(QUrl::fromLocalFile(filename).toString()); - emit _url->returnPressed(); + emit _url->editingFinished(); } void AnimationPanel::chooseMaskedJoints() {