Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ConstellationsFlashCards.py
diff options
context:
space:
mode:
Diffstat (limited to 'ConstellationsFlashCards.py')
-rw-r--r--ConstellationsFlashCards.py6
1 files changed, 4 insertions, 2 deletions
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):