Quick adjustment to editing bsmat
This commit is contained in:
parent
8cc294e07f
commit
ed015677df
@ -41,6 +41,7 @@ namespace MetroidDreadLibrary
|
||||
public TextEditor OpenForm()
|
||||
{
|
||||
var textEditor = new TextEditor();
|
||||
FillEditor(textEditor);
|
||||
return textEditor;
|
||||
}
|
||||
|
||||
@ -48,6 +49,8 @@ namespace MetroidDreadLibrary
|
||||
{
|
||||
((TextEditor)control).FileFormat = this;
|
||||
((TextEditor)control).FillEditor(JsonContents);
|
||||
((TextEditor)control).TextEditorChanged = null;
|
||||
|
||||
((TextEditor)control).TextEditorChanged += delegate
|
||||
{
|
||||
JsonContents = ((TextEditor)control).GetText();
|
||||
|
Loading…
Reference in New Issue
Block a user