all repos — mgba @ ce400fd827c32ae88113b6d30b54087318b4623c

mGBA Game Boy Advance Emulator

Qt: GIF view consistency
Vicki Pfau vi@endrift.com
Sun, 09 Feb 2020 22:05:02 -0800
commit

ce400fd827c32ae88113b6d30b54087318b4623c

parent

3201c984e8d62d72125263b743d59e95aa4a1649

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GIFView.cppsrc/platform/qt/GIFView.cpp

@@ -58,6 +58,9 @@ }

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 @@ FFmpegEncoderClose(&m_encoder);

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() {