From 8149dc9b66b70ce10aceabc303c010623a6b9e97 Mon Sep 17 00:00:00 2001 From: vincents Date: Wed, 29 Oct 2008 14:17:00 +0000 Subject: [PATCH] IDE: show hints in object inspector defaults to true (issue #12127) git-svn-id: trunk@17152 - --- ideintf/objectinspector.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ideintf/objectinspector.pp b/ideintf/objectinspector.pp index 5f0ffd83b1..99241debd6 100644 --- a/ideintf/objectinspector.pp +++ b/ideintf/objectinspector.pp @@ -43,7 +43,7 @@ uses ComponentTreeView, ComponentEditors, IDEImagesIntf; const - OIOptionsFileVersion = 2; + OIOptionsFileVersion = 3; type EObjectInspectorException = class(Exception); @@ -3285,8 +3285,9 @@ begin FPropertyNameColor:=ConfigStore.GetValue( Path+'Color/PropertyName',clWindowText); + FShowHints:=ConfigStore.GetValue( - Path+'ShowHints',false); + Path+'ShowHints',FileVersion>=3); FAutoShow := ConfigStore.GetValue( Path+'AutoShow',true); FBoldNonDefaultValues := ConfigStore.GetValue( @@ -3349,7 +3350,7 @@ begin FPropertyNameColor,clWindowText); ConfigStore.SetDeleteValue(Path+'ShowHints',FShowHints, - false); + true); ConfigStore.SetDeleteValue(Path+'AutoShow',FAutoShow, True); ConfigStore.SetDeleteValue(Path+'BoldNonDefaultValues',FBoldNonDefaultValues, True); ConfigStore.SetDeleteValue(Path+'DrawGridLines',FDrawGridLines, True);