Fixed initial settings of axis in scatter

This commit is contained in:
Arnar Flatberg 2008-02-29 16:16:17 +00:00
parent aa3ec28ec6
commit 1ad8b1a4f1

View File

@ -352,8 +352,8 @@ class NavigatorMenu(gtk.Menu):
datasets = main.project.current_data
ds_major = datasets[0]
dims_major = ds_major.get_dim_name()
ids_major = ds_major.get_identifiers(dims_major[1])
if len(datasets)>1:
ids_major = ds_major.get_identifiers(dims_major[1], sorted=True)
if len(datasets) > 1:
# If there is more than one active dataset -> try to use the two first
ds_minor = datasets[1]
dims_minor = ds_minor.get_dim_name()