diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 22:44:02 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 22:44:02 +0100 |
commit | 514a66e0c8570f9706bcfcf93cec124094931b6e (patch) | |
tree | 0c6b51a14dfff8a476cbfa773c3115706cc06a8e /src/sourcewidget.cc | |
parent | 7a7c1fc7f2a94fea91c66e9be35e8d6d81c0c7fe (diff) |
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.
Diffstat (limited to 'src/sourcewidget.cc')
-rw-r--r-- | src/sourcewidget.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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; |