History

Fix manually entered animation URL not being able to be started

David Rowe committed 11 years ago

Commit 082a9191 parent fff4c041 file · +2 −2Browse files

Showing the changes to interface/src/ui/AnimationsDialog.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ui/AnimationsDialog.cpp+2−2
@@ -96,7 +96,7 @@ AnimationPanel::AnimationPanel(AnimationsDialog* dialog, const AnimationHandlePo · 95 unmodified lines
9696 QHBoxLayout* urlBox = new QHBoxLayout();
9797 layout->addRow("URL:", urlBox);
9898 urlBox->addWidget(_url = new QLineEdit(handle->getURL().toString()), 1);
99− connect(_url, SIGNAL(returnPressed()), SLOT(updateHandle()));
99+ connect(_url, SIGNAL(editingFinished()), SLOT(updateHandle()));
100100 QPushButton* chooseURL = new QPushButton("Choose");
101101 urlBox->addWidget(chooseURL);
102102 connect(chooseURL, SIGNAL(clicked(bool)), SLOT(chooseURL()));
@@ -168,7 +168,7 @@ void AnimationPanel::chooseURL() { · 65 unmodified lines
168168 }
169169 _animationDirectory.set(QFileInfo(filename).path());
170170 _url->setText(QUrl::fromLocalFile(filename).toString());
171− emit _url->returnPressed();
171+ emit _url->editingFinished();
172172 }
173173
174174 void AnimationPanel::chooseMaskedJoints() {