Skip to content

Commit

Permalink
fixed bug on Octave buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
lucretiomsp committed Feb 5, 2025
1 parent ce12e91 commit 627a366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CoypuIDE/TbButton.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ TbButton >> indicator: anElement [
TbButton >> initialize [

super initialize.
isToggleable := true.
isToggleable := false.
self value: 0.
self initializeWidgetSize.
self initializeWidget.
Expand Down Expand Up @@ -225,7 +225,7 @@ TbButton >> initializeEvents [
on: BlMouseUpEvent
do: [ :anEvent |
self isToggleable ifFalse: [
'Toggeling' traceCr.
'Toggeling' traceCr.
self toggle.

self callBackUp value ] ])
Expand Down Expand Up @@ -329,7 +329,7 @@ TbButton >> isToggleable [
TbButton >> isToggleable: aBoolean [

isToggleable := aBoolean.
self initializeEvents

]

{ #category : 'evaluating' }
Expand Down

0 comments on commit 627a366

Please sign in to comment.