mirror of https://github.com/mgba-emu/mgba.git
Qt: GIF view consistency
This commit is contained in:
parent
3201c984e8
commit
ce400fd827
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue