Skip to content

Commit

Permalink
[Automatic Volume Adjustment] fix visible global option
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima73 authored and littlesat committed Oct 16, 2023
1 parent e3478c7 commit 56f2bb3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ def createSetup(self, widget):
self.list.append(getConfigListEntry(_("Max. volume for mpeg audio"), self.configVA.config.mpeg_max_volume))
self.list.append(getConfigListEntry(_("Only AC3/DTS(HD)"), self.configVA.config.type_audio))
self["key_blue"].setText(_("Services"))
else:
self.list.append(getConfigListEntry(_("Show volumebar when volume-value was changed"), self.configVA.config.show_volumebar))
self.list.append(getConfigListEntry(_("Show on/off plugin only for session in Audio menu"), config.misc.AV_audio_menu))
self.list.append(getConfigListEntry(_("Show volumebar when volume-value was changed"), self.configVA.config.show_volumebar))
self.list.append(getConfigListEntry(_("Show on/off plugin only for session in Audio menu"), config.misc.AV_audio_menu))
else:
self.config_modus = None
self[widget].list = self.list
Expand Down Expand Up @@ -114,6 +113,7 @@ def keySave(self):
for x in self["config"].list:
x[1].save()
self.configVA.save()
config.misc.AV_audio_menu.save()
if self.prev_audio_menu != config.misc.AV_audio_menu.value:
self.refreshPlugins()
if self.automaticVolumeAdjustmentInstance is not None:
Expand Down

0 comments on commit 56f2bb3

Please sign in to comment.