From 514a66e0c8570f9706bcfcf93cec124094931b6e Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 17 Jun 2009 22:44:02 +0100 Subject: Do not disable the default button when it's set. I reworked the way this was done so we can easily re-enable this as I think it's clearer when it's inactive (the difference between toggled and not toggled is pretty minor). With this abstraction we could reset the tooltip etc. too. --- src/sinkwidget.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sinkwidget.cc') diff --git a/src/sinkwidget.cc b/src/sinkwidget.cc index e0fcdde..56159e8 100644 --- a/src/sinkwidget.cc +++ b/src/sinkwidget.cc @@ -66,8 +66,6 @@ void SinkWidget::onMuteToggleButton() { void SinkWidget::onDefaultToggleButton() { pa_operation* o; - DeviceWidget::onDefaultToggleButton(); - if (updating) return; -- cgit