Explorar el Código

Make image button update after SetImage.

danaugrs hace 8 años
padre
commit
ca0b3061c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/image_button.go

+ 1 - 1
gui/image_button.go

@@ -147,7 +147,7 @@ func (b *ImageButton) SetImage(state ButtonState, imgfile string) error {
 		b.stateImages[state].Dispose()
 	}
 	b.stateImages[state] = tex
-
+	b.update()
 
 	return nil
 }