From d967f6dee1d3755d21d3e02ade4cc1842611d673 Mon Sep 17 00:00:00 2001 From: ma-shaoyin Date: Thu, 6 Jun 2024 16:52:59 +0800 Subject: [PATCH] Signed-off-by: ma-shaoyin Changes to be committed: --- .../native/inputmethod_ability/src/input_method_ability.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/inputmethod_ability/src/input_method_ability.cpp b/frameworks/native/inputmethod_ability/src/input_method_ability.cpp index 7505c69d..17667aec 100644 --- a/frameworks/native/inputmethod_ability/src/input_method_ability.cpp +++ b/frameworks/native/inputmethod_ability/src/input_method_ability.cpp @@ -826,8 +826,8 @@ int32_t InputMethodAbility::CreatePanel(const std::shared_ptr &panel) { - inputMethodPanel->SetPanelHeightCallback(panelHeightCallback); inputMethodPanel = std::make_shared(); + inputMethodPanel->SetPanelHeightCallback(panelHeightCallback); auto ret = inputMethodPanel->CreatePanel(context, panelInfo); if (ret == ErrorCode::NO_ERROR) { panel = inputMethodPanel;