summaryrefslogtreecommitdiffstats
path: root/src/devicewidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devicewidget.cc')
-rw-r--r--src/devicewidget.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devicewidget.cc b/src/devicewidget.cc
index 9a75970..b513ee8 100644
--- a/src/devicewidget.cc
+++ b/src/devicewidget.cc
@@ -77,6 +77,7 @@ void DeviceWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
cw->channelLabel->set_markup(text);
channelsVBox->pack_start(*cw, false, false, 0);
}
+ channelWidgets[m.channels-1]->last = true;
lockToggleButton->set_sensitive(m.channels > 1);
}