fixed escape closes FindWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4101 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a50cf5ac37
commit
59f0a7eb40
@ -80,7 +80,7 @@ FindWindow::FindWindow(BRect frame, BHandler *_handler, BString *searchString, b
|
||||
void FindWindow::MessageReceived(BMessage *msg){
|
||||
switch(msg->what){
|
||||
case B_QUIT_REQUESTED:
|
||||
QuitRequested();
|
||||
Quit();
|
||||
break;
|
||||
case MSG_SEARCH:
|
||||
ExtractToMsg(new BMessage(MSG_SEARCH));
|
||||
@ -152,6 +152,4 @@ void FindWindow::ExtractToMsg(BMessage *message){
|
||||
PostMessage(B_QUIT_REQUESTED);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,6 @@ class FindWindow : public BWindow {
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
virtual void DispatchMessage(BMessage* message, BHandler* handler);
|
||||
|
||||
|
||||
private:
|
||||
void ExtractToMsg(BMessage *message);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user