Skip to content

Commit

Permalink
Revert "FilePanel: re-parenting the PoseView to get shortcuts to work"
Browse files Browse the repository at this point in the history
This reverts commit 89486c9.
  • Loading branch information
jessicah committed May 30, 2015
1 parent bcf6650 commit 7919d65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kits/tracker/FilePanelPriv.cpp
Expand Up @@ -233,6 +233,7 @@ TFilePanel::TFilePanel(file_panel_mode mode, BMessenger* target,
AutoLock<BWindow> lock(this);
fBorderedView = new BorderedView;
CreatePoseView(model);
fBorderedView->GroupLayout()->SetInsets(1);
fPoseView->SetRefFilter(filter);
if (!fIsSavePanel)
fPoseView->SetMultipleSelection(multipleSelection);
Expand Down Expand Up @@ -751,9 +752,6 @@ TFilePanel::Init(const BMessage*)
PoseView()->VScrollBar()->SetResizingMode(B_FOLLOW_TOP_BOTTOM | B_FOLLOW_RIGHT);
fBackView->AddChild(PoseView()->VScrollBar());

// re-parent the poseview to our bordered view
PoseView()->RemoveSelf();
fBorderedView->AddChild(PoseView());
if (fIsSavePanel)
fBackView->AddChild(fBorderedView, fTextControl);
else
Expand Down

0 comments on commit 7919d65

Please sign in to comment.