Am 15/07/2014 03:18, schrieb stpere@xxxxxxxxx:
@@ -1183,11 +1172,10 @@ BContainerWindow::WorkspacesChanged(uint32, uint32) void BContainerWindow::ViewModeChanged(uint32 oldMode, uint32 newMode) { - BView* view = FindView("MenuBar"); - if (view != NULL) { + if (fMenuBar != NULL) { // make sure the draggable icon hides if it doesn't // have space left anymore - view = view->FindView("ThisContainer"); + BView *view = fMenuBar->FindView("ThisContainer");
Asterisk style.
- BView* view = FindView("MenuBar");
[...]
+ BView *view = fMenuBar->FindView("ThisContainer");
And again.
+ if (!TargetModel()->IsRoot()) { + menu->AddItem(cutItem = new(std::nothrow) BMenuItem( + B_TRANSLATE("Cut"), new BMessage(B_CUT), 'X'));
Strange whitespace. Bye, Axel.