From f74ff8d324ac79b64713d7b52e6ec7c26dc1896a Mon Sep 17 00:00:00 2001 From: John Scipione Date: Tue, 30 Apr 2013 19:58:50 -0400 Subject: [PATCH] Remove this bit of code from StyledEdit ....as we're gonna do the work in BFilePanel instead. --- src/apps/stylededit/StyledEditWindow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/apps/stylededit/StyledEditWindow.cpp b/src/apps/stylededit/StyledEditWindow.cpp index a16fff5351..4469d1d2f8 100644 --- a/src/apps/stylededit/StyledEditWindow.cpp +++ b/src/apps/stylededit/StyledEditWindow.cpp @@ -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; }