remove refresh workaround for apptabs not updating with theme

This commit is contained in:
Drew Weymouth
2024-02-14 14:57:27 -08:00
parent e6848c1078
commit a0902e6f63
-2
View File
@@ -80,9 +80,7 @@ func NewSettingsDialog(
}
tabs.SelectIndex(s.getActiveTabNumFromConfig())
// workaround issue where inactivated tabs don't fully update when theme setting is changed
tabs.OnSelected = func(ti *container.TabItem) {
ti.Content.Refresh()
s.saveSelectedTab(tabs.SelectedIndex())
}
s.promptText = widget.NewRichTextWithText("")