Skip to content
Snippets Groups Projects
Commit eeddb9a8 authored by valerio's avatar valerio
Browse files

DataViewers for opened images are added to the MDI

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1767 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 91d2a258
Branches
Tags
No related merge requests found
......@@ -108,6 +108,10 @@ def _load_files():
images.append(m)
v=gui.CreateDataViewer(m)
viewers.append(v)
app=gui.GostyApp.Instance()
widget=gui.BPQtHandle(v.GetSipHandle())
main_area=app.perspective.main_area
main_area.AddWidget(f[0], widget)
else:
miso=gfx.MapIso(m, 10.0, os.path.basename(f[0]))
c+=miso.center
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment