Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/finance.py
diff options
context:
space:
mode:
Diffstat (limited to 'finance.py')
-rw-r--r--finance.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/finance.py b/finance.py
index 57923a7..69cf2eb 100644
--- a/finance.py
+++ b/finance.py
@@ -345,6 +345,7 @@ class Finance(Activity):
def __newcredit_cb(self, widget):
if self._active_panel == self.chart:
# in the case of chart, select the graphic
+ self.chart.set_mode(self.chart.CHART_CREDIT)
return
# this check is used when the emptypanle is visible
@@ -355,6 +356,7 @@ class Finance(Activity):
def __newdebit_cb(self, widget):
if self._active_panel == self.chart:
# in the case of chart, select the graphic
+ self.chart.set_mode(self.chart.CHART_DEBIT)
return
# this check is used when the emptypanle is visible