From 646faeac2c02a9041e16341a32845daf316982bf Mon Sep 17 00:00:00 2001 From: lostjared Date: Thu, 30 Aug 2018 04:10:02 -0700 Subject: [PATCH] working on goto window --- src/goto_window.cpp | 2 ++ src/main_window.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/goto_window.cpp b/src/goto_window.cpp index f4a137b..2b18313 100644 --- a/src/goto_window.cpp +++ b/src/goto_window.cpp @@ -59,6 +59,7 @@ void GotoWindow::pressedGo() { if(f_pos != goto_pos->sliderPosition()) { goto_pos->setSliderPosition(f_pos); } + showImage(); } void GotoWindow::slideChanged(int pos) { @@ -69,4 +70,5 @@ void GotoWindow::slideChanged(int pos) { text = ""; stream << (pos); goto_frame->setText(text); + } diff --git a/src/main_window.cpp b/src/main_window.cpp index edf7cc2..e051693 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -982,7 +982,7 @@ void AC_MainWindow::controls_Pause() { controls_pause->setText("Paused"); controls_pause->setChecked(true); paused = true; - goto_window->show(); + goto_window->showWindow(0, video_frames); playback->Stop(); } else { controls_pause->setText("Pause");