Skip to content
Snippets Groups Projects
Commit d8ba33f2 authored by stefan's avatar stefan
Browse files

New SequenceViewer, bugfix (load structures from scene)

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2328 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent f89ee071
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,13 @@ SequenceViewerV2::SequenceViewerV2(bool stand_alone, QWidget* parent): Widget(NU
this->InitActions();
if(stand_alone){
this->InitMenuBar();
}
this->InitSearchBar();
this->InitView();
if(!stand_alone){
gfx::Scene::Instance().AttachObserver(this);
gfx::GfxNodeP root_node = gfx::Scene::Instance().GetRootNode();
......@@ -93,12 +100,6 @@ SequenceViewerV2::SequenceViewerV2(bool stand_alone, QWidget* parent): Widget(NU
this->NodeAdded(list[i]);
}
}
else{
this->InitMenuBar();
}
this->InitSearchBar();
this->InitView();
}
void SequenceViewerV2::InitMenuBar()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment