Make the FindWindow closeable with the escape key.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32403 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -482,7 +482,8 @@ FindTextView::GetData(BMessage& message)
|
||||
|
||||
FindWindow::FindWindow(BRect _rect, BMessage& previous, BMessenger& target,
|
||||
const BMessage* settings)
|
||||
: BWindow(_rect, "Find", B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS),
|
||||
: BWindow(_rect, "Find", B_TITLED_WINDOW,
|
||||
B_ASYNCHRONOUS_CONTROLS | B_CLOSE_ON_ESCAPE),
|
||||
fTarget(target)
|
||||
{
|
||||
BView* view = new BView(Bounds(), "main", B_FOLLOW_ALL, 0);
|
||||
|
||||
Reference in New Issue
Block a user