1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Fix updating editor for bflim if switched and edited in archive editor

This commit is contained in:
KillzXGaming 2019-09-30 18:06:41 -04:00
parent ccbe9a0e8d
commit e3cdbf50ad

View File

@ -72,14 +72,13 @@ namespace FirstPlugin
}
}
private ImageEditorBase form;
public ImageEditorBase OpenForm()
{
form = new ImageEditorBase();
return form;
}
private ImageEditorBase form;
public void UpdateForm()
{
UpdateForm(form);
@ -87,6 +86,7 @@ namespace FirstPlugin
public void FillEditor(UserControl control)
{
form = (ImageEditorBase)control;
UpdateForm((ImageEditorBase)control);
}
@ -112,6 +112,8 @@ namespace FirstPlugin
form.AddFileContextEvent("Replace", Replace);
form.LoadProperties(prop);
form.LoadImage(this);
Console.WriteLine("UpdateForm LoadImage");
}
}