Remove this bit of code from StyledEdit

....as we're gonna do the work in BFilePanel instead.
This commit is contained in:
John Scipione 2013-04-30 19:58:50 -04:00
parent fd19c7366d
commit f74ff8d324

View File

@ -850,10 +850,6 @@ StyledEditWindow::SaveAs(BMessage* message)
if (message != NULL)
fSavePanel->SetMessage(message);
// Position the save panel so that it is centered vertically but offset
// a bit horizontally in the parent window's frame.
fSavePanel->Window()->CenterIn(Frame().InsetByCopy(0, Frame().Height() / 2)
.OffsetBySelf(0, -Frame().Height() / 3));
fSavePanel->Show();
return B_OK;
}