WebP show_alert reset in options

This commit is contained in:
Christian Kaiser 2024-09-20 20:00:52 -03:00 committed by David Capello
parent b10cc60fdb
commit 96438b789e
2 changed files with 5 additions and 2 deletions

View File

@ -517,14 +517,16 @@
pref="color_bar.show_invalid_fg_bg_color_alert" />
<check id="run_script_alert" text="@.run_script_alert"
pref="scripts.show_run_script_alert" />
<hbox>
<grid columns="4">
<label text="@.image_format_alerts" />
<check id="css_options_alert" text="!css" pref="css.show_alert" />
<check id="gif_options_alert" text="!gif" pref="gif.show_alert" />
<check id="jpeg_options_alert" text="!jpeg" pref="jpeg.show_alert" />
<boxfiller />
<check id="svg_options_alert" text="!svg" pref="svg.show_alert" />
<check id="tga_options_alert" text="!tga" pref="tga.show_alert" />
</hbox>
<check id="webp_options_alert" text="!webp" pref="webp.show_alert" />
</grid>
<separator horizontal="true" />
<hbox>
<hbox expansive="true" />

View File

@ -1335,6 +1335,7 @@ private:
jpegOptionsAlert()->resetWithDefaultValue();
svgOptionsAlert()->resetWithDefaultValue();
tgaOptionsAlert()->resetWithDefaultValue();
webpOptionsAlert()->resetWithDefaultValue();
}
void onChangeBgScope() {