aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/GraphicPicker.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Applications/GraphicPicker.cs')
-rw-r--r--ShiftOS.WinForms/Applications/GraphicPicker.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/GraphicPicker.cs b/ShiftOS.WinForms/Applications/GraphicPicker.cs
index 2dfe7ec..85f95bd 100644
--- a/ShiftOS.WinForms/Applications/GraphicPicker.cs
+++ b/ShiftOS.WinForms/Applications/GraphicPicker.cs
@@ -37,6 +37,7 @@ using ShiftOS.WinForms.Tools;
namespace ShiftOS.WinForms.Applications
{
+ [MultiplayerOnly]
[DefaultTitle("Choose graphic")] [DefaultIcon("icongraphicpicker")]
public partial class GraphicPicker : UserControl, IShiftOSWindow
{
@@ -82,12 +83,11 @@ namespace ShiftOS.WinForms.Applications
public void btnidlebrowse_Click(object s, EventArgs a)
{
- AppearanceManager.SetupDialog(new FileDialog(new[] { ".png", ".jpg", ".bmp", ".pic" }, FileOpenerStyle.Open, new Action<string>((file) =>
+ AppearanceManager.SetupDialog(new FileDialog(new[] { ".png", ".gif", ".jpg", ".bmp", ".pic" }, FileOpenerStyle.Open, new Action<string>((file) =>
{
ImageAsBinary = Utils.ReadAllBytes(file);
System.IO.File.WriteAllBytes("temp_bin.bmp", ImageAsBinary);
Image = SkinEngine.ImageFromBinary(ImageAsBinary);
- Image.Save("temp.bmp", System.Drawing.Imaging.ImageFormat.Bmp);
Setup();
})));
}