mirror of
https://github.com/gen2brain/cbconvert
synced 2026-06-30 09:11:54 +02:00
Destroy current image
This commit is contained in:
@@ -271,6 +271,7 @@ func onRemove(ih iup.Ihandle) int {
|
||||
|
||||
// clearPreview resets the preview state and repaints the canvas to its empty state.
|
||||
func clearPreview() {
|
||||
iup.Destroy(iup.GetHandle("cover"))
|
||||
hasCover = false
|
||||
previewPath = ""
|
||||
previewPage = 0
|
||||
|
||||
Reference in New Issue
Block a user