diff options
Diffstat (limited to 'src/wx/timing_panel.cc')
| -rw-r--r-- | src/wx/timing_panel.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 6c6638c07..482b1ce9c 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -501,11 +501,11 @@ TimingPanel::move_to_start_of_reel_clicked () } } - auto d = make_wx<MoveToDialog>(this, position, _parent->film()); + MoveToDialog dialog(this, position, _parent->film()); - if (d->ShowModal() == wxID_OK) { + if (dialog.ShowModal() == wxID_OK) { for (auto i: _parent->selected()) { - i->set_position (_parent->film(), d->position()); + i->set_position(_parent->film(), dialog.position()); } } } |
