Skip to content
Permalink
Browse files

Restore tabs feature crashes often on old XP systems, so we activate …

…it by default only on Vista and newer. See https://www.heidisql.com/forum.php?t=34044
  • Loading branch information...
ansgarbecker committed Jul 10, 2019
1 parent 6510212 commit aa2ee9fd8f6b5154680b9140d593c5122d576c38
Showing with 2 additions and 1 deletion.
  1. +2 −1 source/apphelpers.pas
@@ -3623,7 +3623,8 @@ constructor TAppSettings.Create;
DefaultSnippetsDirectory := DefaultSnippetsDirectory + 'Snippets\';
InitSetting(asCustomSnippetsDirectory, 'CustomSnippetsDirectory', 0, False, DefaultSnippetsDirectory);
InitSetting(asPromptSaveFileOnTabClose, 'PromptSaveFileOnTabClose', 0, True);
InitSetting(asRestoreTabs, 'RestoreTabs', 0, True);
// Restore tabs feature crashes often on old XP systems, see https://www.heidisql.com/forum.php?t=34044
InitSetting(asRestoreTabs, 'RestoreTabs', 0, Win32MajorVersion >= 6);
InitSetting(asWarnUnsafeUpdates, 'WarnUnsafeUpdates', 0, True);
InitSetting(asQueryWarningsMessage, 'QueryWarningsMessage', 0, True);
InitSetting(asCompletionProposal, 'CompletionProposal', 0, True);

0 comments on commit aa2ee9f

Please sign in to comment.
You can’t perform that action at this time.