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/sourcewidget.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sourcewidget.cc') diff --git a/src/sourcewidget.cc b/src/sourcewidget.cc index cef0a3e..94e78b1 100644 --- a/src/sourcewidget.cc +++ b/src/sourcewidget.cc @@ -66,8 +66,6 @@ void SourceWidget::onMuteToggleButton() { void SourceWidget::onDefaultToggleButton() { pa_operation* o; - DeviceWidget::onDefaultToggleButton(); - if (updating) return; -- cgit