Skip to content

Commit

Permalink
fix residual problem
Browse files Browse the repository at this point in the history
  • Loading branch information
YomikoR committed Jul 14, 2024
1 parent 4e17138 commit d12f6c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vse-previewer/src/preview/preview_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,7 @@ void PreviewDialog::slotPlay(bool a_play)
clearFramesCache();
m_audioCache.clear();
m_pVapourSynthScriptProcessor->flushFrameTicketsQueue();
m_ui.outputIndexComboBox->setEnabled(true);
m_pActionPlay->setIcon(m_iconPlay);
setTitle();
}
Expand Down Expand Up @@ -2191,8 +2192,10 @@ void PreviewDialog::slotSwitchOutputIndex(int a_outputIndex)
void PreviewDialog::slotEnableSwitchOutputIndex(bool a_idle)
{
if(m_playing)
{
m_ui.outputIndexComboBox->setEnabled(false);

return;
}
m_ui.outputIndexComboBox->setEnabled(a_idle);
}

Expand Down

0 comments on commit d12f6c3

Please sign in to comment.