From Adrien Destugues <pulkomandy@xxxxxxxxx>:
Adrien Destugues has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/3563 ;)
Change subject: StyledEdit: Fix New menu item after hrev54812
......................................................................
StyledEdit: Fix New menu item after hrev54812
---
M src/apps/stylededit/StyledEditWindow.cpp
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/63/3563/1
diff --git a/src/apps/stylededit/StyledEditWindow.cpp
b/src/apps/stylededit/StyledEditWindow.cpp
index 32e883b..fff3747 100644
--- a/src/apps/stylededit/StyledEditWindow.cpp
+++ b/src/apps/stylededit/StyledEditWindow.cpp
@@ -178,6 +178,12 @@
}
switch (message->what) {
+ case MENU_NEW:
+ // this is because of the layout menu change,
+ // it is too early to connect to a different looper
there
+ // so either have to redirect it here, or change the
invocation
+ be_app->PostMessage(message);
+ break;
// File menu
case MENU_SAVE:
if (!fSaveMessage)
--
To view, visit https://review.haiku-os.org/c/haiku/+/3563
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I583bc43dc64d46e92e20e46da9a894c489617d43
Gerrit-Change-Number: 3563
Gerrit-PatchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@xxxxxxxxx>
Gerrit-MessageType: newchange