Closed MayonnaiseTraveler closed 10 months ago
is it possible you could refactor that logic into a method within that class?
sure, it will take a few days until i have time to do that, but once it's done i will update you!
@deviantfero
is it possible you could refactor that logic into a method within that class?
Done!
Separated the image preview loading code into two new methods: set_image_preview() is called when the combo box updates the selected wallpaper, and get_image_preview() is called when the program loads the previously selected wallpaper.
thanks for the contribution!
Problems:
Program Output:
Part of the error is in Portuguese, the translation of "Nem todos os quadros da imagem GIF foram carregados. (6)" would be "Not all frames of the GIF image were loaded (6) "
Steps to reproduce :
Fix suggestion:
Check if the file extension is '.gif' and get a static image from the gif for the preview.