From 81e98872f4454f1b23f823fffa26e1b68ad78993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Spasic=CC=81?= Date: Fri, 9 Jun 2023 13:19:09 +0200 Subject: [PATCH] Remove unused param --- .../kotlin/com/github/igr/sexyeditor/ui/ImagePreviewPanel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/igr/sexyeditor/ui/ImagePreviewPanel.kt b/src/main/kotlin/com/github/igr/sexyeditor/ui/ImagePreviewPanel.kt index 199bc2d..9c5a4ce 100644 --- a/src/main/kotlin/com/github/igr/sexyeditor/ui/ImagePreviewPanel.kt +++ b/src/main/kotlin/com/github/igr/sexyeditor/ui/ImagePreviewPanel.kt @@ -50,7 +50,7 @@ class ImagePreviewPanel( isVisible = false } add(sure, BorderLayout.SOUTH) - sure.addActionListener { e: ActionEvent? -> + sure.addActionListener { sure.isVisible = false val icon: Icon? = loadImage() label.icon = icon