mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Fixed issue detaching editdata when resetting ui
This commit is contained in:
parent
ae186433cc
commit
a2a97a8e5f
2 changed files with 11 additions and 1 deletions
|
@ -355,7 +355,7 @@ namespace IDE
|
|||
return .SimpleSource;
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
public void ClearEditData()
|
||||
{
|
||||
if (mEditData != null)
|
||||
{
|
||||
|
@ -365,6 +365,11 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
ClearEditData();
|
||||
}
|
||||
|
||||
public override void Detach()
|
||||
{
|
||||
Dispose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue