From ce400fd827c32ae88113b6d30b54087318b4623c Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 9 Feb 2020 22:05:02 -0800 Subject: [PATCH] Qt: GIF view consistency --- src/platform/qt/GIFView.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/platform/qt/GIFView.cpp b/src/platform/qt/GIFView.cpp index 2ef882741..0662bfdeb 100644 --- a/src/platform/qt/GIFView.cpp +++ b/src/platform/qt/GIFView.cpp @@ -58,6 +58,9 @@ void GIFView::startRecording() { m_ui.start->setEnabled(false); m_ui.stop->setEnabled(true); m_ui.frameskip->setEnabled(false); + m_ui.loop->setEnabled(false); + m_ui.fmtApng->setEnabled(false); + m_ui.fmtGif->setEnabled(false); emit recordingStarted(&m_encoder.d); } @@ -67,6 +70,9 @@ void GIFView::stopRecording() { m_ui.stop->setEnabled(false); m_ui.start->setEnabled(!m_filename.isEmpty()); m_ui.frameskip->setEnabled(true); + m_ui.loop->setEnabled(true); + m_ui.fmtApng->setEnabled(true); + m_ui.fmtGif->setEnabled(true); } void GIFView::selectFile() {