dialogs: fixed regression that broke audio

This commit is contained in:
itsmattkc
2020-01-25 13:40:23 +11:00
parent 3f85ce8a7a
commit 420e01002e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ SequenceDialog::SequenceDialog(Sequence* s, Type t, QWidget* parent) :
// Set up available channel layouts
QList<uint64_t> channel_layouts = Core::SupportedChannelLayouts();
foreach (const uint64_t& ch_layout, channel_layouts) {
audio_channels_field_->addItem(Core::ChannelLayoutToString(ch_layout), QVariant::fromValue(layout));
audio_channels_field_->addItem(Core::ChannelLayoutToString(ch_layout), QVariant::fromValue(ch_layout));
}
// Set values based on input sequence