Always build the button bar. Fixes #9474.
This commit is contained in:
@@ -470,20 +470,20 @@ TMailWindow::TMailWindow(BRect rect, const char* title, TMailApp* app,
|
||||
|
||||
// Button Bar
|
||||
|
||||
BuildButtonBar();
|
||||
|
||||
float bbwidth = 0, bbheight = 0;
|
||||
|
||||
bool showButtonBar = fApp->ShowButtonBar();
|
||||
|
||||
if (showButtonBar) {
|
||||
BuildButtonBar();
|
||||
fButtonBar->ShowLabels(showButtonBar);
|
||||
fButtonBar->Arrange(true);
|
||||
fButtonBar->GetPreferredSize(&bbwidth, &bbheight);
|
||||
fButtonBar->ResizeTo(Bounds().right, bbheight);
|
||||
fButtonBar->MoveTo(0, height);
|
||||
fButtonBar->Show();
|
||||
} else
|
||||
fButtonBar = NULL;
|
||||
}
|
||||
|
||||
r.top = r.bottom = height + bbheight + 1;
|
||||
fHeaderView = new THeaderView (r, rect, fIncoming, resending,
|
||||
|
||||
Reference in New Issue
Block a user