Fix updating editor for bflim if switched and edited in archive editor
This commit is contained in:
parent
ccbe9a0e8d
commit
e3cdbf50ad
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user