Showing the changes to interface/src/ui/AnimationsDialog.cpp (1 of 1 file). Show all
Unified · Split
| @@ -96,7 +96,7 @@ AnimationPanel::AnimationPanel(AnimationsDialog* dialog, const AnimationHandlePo · 95 unmodified lines | ||
| 96 | 96 | QHBoxLayout* urlBox = new QHBoxLayout(); |
| 97 | 97 | layout->addRow("URL:", urlBox); |
| 98 | 98 | urlBox->addWidget(_url = new QLineEdit(handle->getURL().toString()), 1); |
| 99 | − connect(_url, SIGNAL(returnPressed()), SLOT(updateHandle())); | |
| 99 | + connect(_url, SIGNAL(editingFinished()), SLOT(updateHandle())); | |
| 100 | 100 | QPushButton* chooseURL = new QPushButton("Choose"); |
| 101 | 101 | urlBox->addWidget(chooseURL); |
| 102 | 102 | connect(chooseURL, SIGNAL(clicked(bool)), SLOT(chooseURL())); |
| @@ -168,7 +168,7 @@ void AnimationPanel::chooseURL() { · 65 unmodified lines | ||
| 168 | 168 | } |
| 169 | 169 | _animationDirectory.set(QFileInfo(filename).path()); |
| 170 | 170 | _url->setText(QUrl::fromLocalFile(filename).toString()); |
| 171 | − emit _url->returnPressed(); | |
| 171 | + emit _url->editingFinished(); | |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | void AnimationPanel::chooseMaskedJoints() { |