Commit 317051fa authored by Ronan's avatar Ronan
Browse files

fix(src/components/codecs/AbstractCodecsModel): little fixes

parent 816a9c2a
......@@ -143,7 +143,7 @@ bool AbstractCodecsModel::moveRows (
// Update linphone codecs list.
list<shared_ptr<linphone::PayloadType> > codecs;
for (const auto &map : m_codecs)
codecs.push_back(map.value("__codec").value<shared_ptr<linphone::PayloadType> >());
codecs.push_back(getCodecFromMap(map));
updateCodecs(codecs);
endMoveRows();
......
......@@ -149,6 +149,7 @@ Column {
NumericField {
Layout.preferredWidth: CodecsViewerStyle.column.bitrateWidth
readOnly: !$codec.isVbr
text: $codec.bitrate
onEditingFinished: view.model.setBitrate(index, text)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment