From dc3893eeccd13b954759de23c2278068c4481d8f Mon Sep 17 00:00:00 2001 From: flatberg Date: Thu, 2 Aug 2007 10:19:16 +0000 Subject: [PATCH] Fixed a "main.project" bug --- fluents/navigator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)