From 88706ca4bc54438071984cd9480eeed14bd61e34 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 14 Jan 2026 00:32:46 -0700 Subject: [PATCH] FindWindow: allow closing with the escape key --- src/find/FindWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/find/FindWindow.cpp b/src/find/FindWindow.cpp index 5cdaedf..e6531e9 100644 --- a/src/find/FindWindow.cpp +++ b/src/find/FindWindow.cpp @@ -31,7 +31,7 @@ FindWindow::FindWindow(BMessage *state, BPath settingsPath) : BWindow(BRect(0, 0, 400, 300), B_TRANSLATE("Find/Replace"), B_TITLED_WINDOW, - B_NOT_ZOOMABLE, 0), + B_NOT_ZOOMABLE | B_CLOSE_ON_ESCAPE, 0), fFlagsChanged(false), fSettingsPath(settingsPath) {