Skip to content

Commit 75113ce

Browse files
committed
🐛fixes the layout breaking on localisation group change
1 parent 8cebf15 commit 75113ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sources/LocalizationEditor/UI/ViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ final class ViewController: NSViewController {
8282
self.tableView.removeTableColumn($0)
8383
}
8484

85+
// not sure why this is needed but without it autolayout crashes and the whole tableview breaks visually
86+
tableView.reloadData()
87+
8588
let column = NSTableColumn(identifier: NSUserInterfaceItemIdentifier(FixedColumn.key.rawValue))
8689
column.title = "key".localized
8790
tableView.addTableColumn(column)

0 commit comments

Comments
 (0)