remove refresh workaround for apptabs not updating with theme
This commit is contained in:
@@ -80,9 +80,7 @@ func NewSettingsDialog(
|
|||||||
}
|
}
|
||||||
|
|
||||||
tabs.SelectIndex(s.getActiveTabNumFromConfig())
|
tabs.SelectIndex(s.getActiveTabNumFromConfig())
|
||||||
// workaround issue where inactivated tabs don't fully update when theme setting is changed
|
|
||||||
tabs.OnSelected = func(ti *container.TabItem) {
|
tabs.OnSelected = func(ti *container.TabItem) {
|
||||||
ti.Content.Refresh()
|
|
||||||
s.saveSelectedTab(tabs.SelectedIndex())
|
s.saveSelectedTab(tabs.SelectedIndex())
|
||||||
}
|
}
|
||||||
s.promptText = widget.NewRichTextWithText("")
|
s.promptText = widget.NewRichTextWithText("")
|
||||||
|
|||||||
Reference in New Issue
Block a user