瀏覽代碼

Bug fix: Clean up application data dialog was showing on wrong monitor

Source commit: 096d7c565a986d151063189dda541d96f68bc520
Martin Prikryl 8 年之前
父節點
當前提交
1b2e4149ba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/forms/Cleanup.cpp

+ 1 - 1
source/forms/Cleanup.cpp

@@ -18,7 +18,7 @@ Boolean __fastcall DoCleanupDialog(TStoredSessionList *SessionList,
   Boolean Result;
   TCleanupDialog *CleanupDialog;
   try {
-    CleanupDialog = new TCleanupDialog(Application);
+    CleanupDialog = SafeFormCreate<TCleanupDialog>();
 
     CleanupDialog->SessionList = SessionList;
     CleanupDialog->Configuration = Configuration;