Skip to content

Commit 5bf97a3

Browse files
jtmaxwell3aror92
authored andcommitted
Fix LT-22129: Crash when clicking the Insert Affix Template (#352)
1 parent b2b3c38 commit 5bf97a3

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Src/xWorks/FwXWindow.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -315,17 +315,8 @@ private void BasicInit(FwApp app)
315315
m_propertyTable.SetProperty("App", app, true);
316316
m_propertyTable.SetPropertyPersistence("App", false);
317317
}
318-
this.Deactivate += FwXWindow_Deactivate;
319318
}
320319

321-
private void FwXWindow_Deactivate(object args, EventArgs e)
322-
{
323-
// The window has lost the focus.
324-
// Save changes so that other applications can access them.
325-
Cache.ServiceLocator.GetInstance<IUndoStackManager>().Save();
326-
}
327-
328-
329320
/// ------------------------------------------------------------------------------------
330321
/// <summary>
331322
/// C'tor for TESTING with MockFwXWindow

0 commit comments

Comments
 (0)