From 20991f2168add6a05c19852bc631940116064e67 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Sat, 22 Dec 2012 16:21:45 +0000 Subject: Re-add canplot check. --- diff --git a/ConstellationsFlashCards.py b/ConstellationsFlashCards.py index 2e133b6..386d32c 100644 --- a/ConstellationsFlashCards.py +++ b/ConstellationsFlashCards.py @@ -330,8 +330,10 @@ class ChartDisplay(Gtk.DrawingArea): # Methods for drawing the chart: def plotchart(self, newplot): - self.plot_field() - self.plot_sky(newplot) + if self.canplot: + self.plot_field() + self.plot_sky(newplot) + return True def plot_field(self): -- cgit v0.9.1