bugfix
This commit is contained in:
parent
ca1b329a49
commit
b07b37b22b
2113
kivyblocks/dg.c
2113
kivyblocks/dg.c
File diff suppressed because it is too large
Load Diff
@ -383,8 +383,12 @@ class DataGrid(VBox):
|
|||||||
def unselect_row(self, row_id):
|
def unselect_row(self, row_id):
|
||||||
if self.freeze_part:
|
if self.freeze_part:
|
||||||
row = self.freeze_part.body.get_row_by_id(row_id)
|
row = self.freeze_part.body.get_row_by_id(row_id)
|
||||||
|
if not row:
|
||||||
|
return
|
||||||
row.unselected()
|
row.unselected()
|
||||||
row = self.normal_part.body.get_row_by_id(row_id)
|
row = self.normal_part.body.get_row_by_id(row_id)
|
||||||
|
if not row:
|
||||||
|
return
|
||||||
row.unselected()
|
row.unselected()
|
||||||
|
|
||||||
def select_row(self, row_id):
|
def select_row(self, row_id):
|
||||||
|
Loading…
Reference in New Issue
Block a user