From 9ebb7ab4229491af1eac87c876ed0cf92d0b8908 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Mon, 20 Aug 2018 16:40:59 -0400 Subject: [PATCH] Debugger: Fix #14374. ExpressionPromptWindow: - Post a quit requested rather than quitting directly. As a consequence of this oversight, the team window would never get the notification that the prompt had been closed, and would consequently not reset its internal state properly. --- .../gui/utility_windows/ExpressionPromptWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/debugger/user_interface/gui/utility_windows/ExpressionPromptWindow.cpp b/src/apps/debugger/user_interface/gui/utility_windows/ExpressionPromptWindow.cpp index 554081786b..891d0e67ee 100644 --- a/src/apps/debugger/user_interface/gui/utility_windows/ExpressionPromptWindow.cpp +++ b/src/apps/debugger/user_interface/gui/utility_windows/ExpressionPromptWindow.cpp @@ -110,7 +110,7 @@ ExpressionPromptWindow::MessageReceived(BMessage* message) addMessage.AddBool("persistent", true); BMessenger(fAddTarget).SendMessage(&addMessage); - Quit(); + PostMessage(B_QUIT_REQUESTED); break; }