bugfix
This commit is contained in:
parent
a40113c5d6
commit
b9c975ef48
@ -379,7 +379,7 @@ class DataGrid(WidgetReady, BGColorBehavior, BoxLayout):
|
||||
def createToolbar(self):
|
||||
if 'toolbar' in self.options.keys():
|
||||
tb = self.options['toolbar']
|
||||
self.toolbar = Toolbar(ancestor=self,**tb)
|
||||
self.toolbar = Toolbar(**tb)
|
||||
|
||||
def on_selected(self,row):
|
||||
print("DataGrid():on_selected fire", self.widget_id or 'not widget_id seted')
|
||||
|
@ -273,7 +273,7 @@ class Form(BGColorBehavior, BoxLayout):
|
||||
self.register_event_type('on_submit')
|
||||
|
||||
def init(self):
|
||||
self.toolbar = Toolbar(ancestor=self,**self.options.get('toolbar',defaultToolbar()))
|
||||
self.toolbar = Toolbar(**self.options.get('toolbar',defaultToolbar()))
|
||||
self.fsc = VResponsiveLayout(
|
||||
self.inputwidth,
|
||||
self.cols
|
||||
|
Loading…
Reference in New Issue
Block a user