diff --git a/include/fluent_tray.hpp b/include/fluent_tray.hpp index a608c92..70f04c9 100644 --- a/include/fluent_tray.hpp +++ b/include/fluent_tray.hpp @@ -1422,7 +1422,10 @@ namespace fluent_tray if(!Shell_NotifyIconW(NIM_ADD, &icon_data_)) { return false ; } - hide_menu_window() ; + + if(!hide_menu_window()) { + return false ; + } return true ; }