We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8e1113 commit f49e256Copy full SHA for f49e256
widget/table.go
@@ -308,7 +308,7 @@ func (t *Table) SetColumnWidth(id int, width float32) {
308
t.columnWidths = make(map[int]float32)
309
}
310
311
- if t.columnWidths[id] == width {
+ if set, ok := t.columnWidths[id]; ok && set == width {
312
t.propertyLock.Unlock()
313
return
314
@@ -337,7 +337,7 @@ func (t *Table) SetRowHeight(id int, height float32) {
337
t.rowHeights = make(map[int]float32)
338
339
340
- if t.rowHeights[id] == height {
+ if set, ok := t.rowHeights[id]; ok && set == height {
341
342
343
0 commit comments