summaryrefslogtreecommitdiff
path: root/src/wx/controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-29 22:14:15 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-29 22:14:25 +0200
commit40d38c8d011f0863f396f21cd750cdcef803a792 (patch)
treefcbb5d5488f02198b49984631ee4c7b0f3ebe04b /src/wx/controls.cc
parent48c75fff036cb6960fc4c86317231914588a668d (diff)
Put current frame position in seek-by-frame dialogue when opening it (#1736).
Diffstat (limited to 'src/wx/controls.cc')
-rw-r--r--src/wx/controls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 022ebfe29..e3f476c05 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -355,7 +355,7 @@ Controls::timecode_clicked ()
void
Controls::frame_number_clicked ()
{
- PlayheadToFrameDialog* dialog = new PlayheadToFrameDialog (this, _film->video_frame_rate ());
+ PlayheadToFrameDialog* dialog = new PlayheadToFrameDialog (this, _viewer->position(), _film->video_frame_rate());
if (dialog->ShowModal() == wxID_OK) {
_viewer->seek (dialog->get(), true);
}