diff --git a/fluents/navigator.py b/fluents/navigator.py index 1d02331..a830ad6 100644 --- a/fluents/navigator.py +++ b/fluents/navigator.py @@ -280,7 +280,7 @@ class NavigatorMenu(gtk.Menu): #project._selection_observers.append(plot) def on_plot_hist(self, item, navigator): - project = navigator.project + project = main.project plot = plots.HistogramPlot(self.dataset, name='Histogram') icon = fluents.icon_factory.get("line_plot") project.data_tree_insert(self.tree_iter, 'Histogram', plot, None, "black", icon)