summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Button.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx
index 700d73348..a70fb672c 100644
--- a/src/Fl_Button.cxx
+++ b/src/Fl_Button.cxx
@@ -131,7 +131,6 @@ int Fl_Button::handle(int event) {
if (value_ == oldval) {
clear_changed();
} else {
- Fl_Widget_Tracker wp(this);
if (type() == FL_RADIO_BUTTON) {
setonly();
} else if (type() == FL_TOGGLE_BUTTON) {
@@ -176,7 +175,7 @@ int Fl_Button::handle(int event) {
triggered_by_keyboard:
if (s_key_repeat) return 1;
Fl_Widget_Tracker wp(this);
- if (type() == FL_RADIO_BUTTON) {
+ if (type() == FL_RADIO_BUTTON) {
if (!value_) {
setonly();
set_changed();