1
0

kivy: fix regression

This commit is contained in:
ThomasV
2016-03-06 14:49:50 +01:00
parent 053c045adf
commit 8574caae09
3 changed files with 4 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ class SettingsDialog(Factory.Popup):
def unit_dialog(self, item, dt):
if self._unit_dialog is None:
def cb(text):
self._set_bu(text)
self.app._set_bu(text)
item.bu = self.app.base_unit
self._unit_dialog = ChoiceDialog(_('Denomination'), base_units.keys(), self.app.base_unit, cb)
self._unit_dialog.open()

View File

@@ -17,6 +17,7 @@ Builder.load_string('''
path: ''
BoxLayout:
orientation: 'vertical'
padding: '10dp'
FileChooserListView:
id: wallet_selector
dirselect: False