From 886befed81d9bb3203bed6995bf29f78852bbc38 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Wed, 24 May 2023 08:44:59 +0800 Subject: [PATCH] add unload module command --- sane/scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sane/scanner.cpp b/sane/scanner.cpp index b519776..4bf4e7c 100644 --- a/sane/scanner.cpp +++ b/sane/scanner.cpp @@ -385,7 +385,7 @@ namespace callback static void unint_ui(void) { if (close_ui) - close_ui(UI_INDICATOR | UI_SETTING | UI_MSG_BOX); + close_ui(UI_UNLOAD_MODULE); choose_scanner = NULL; apply_current_config = NULL; show_setting_ui = NULL;