IDE: fixed saving ambiguousfileaction, bug #22573

git-svn-id: trunk@38157 -
This commit is contained in:
mattias 2012-08-05 10:02:55 +00:00
parent 33b20563ef
commit 85f064ce90
2 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@
<Filename Value="TestXMLReder.lpr"/>
<IsPartOfProject Value="True"/>
<UnitName Value="TestXMLReder"/>
<UsageCount Value="21"/>
<UsageCount Value="67"/>
</Unit0>
<Unit1>
<Filename Value="testxmlreaderunit.pas"/>
@ -54,8 +54,8 @@
<EditorIndex Value="0"/>
<WindowIndex Value="0"/>
<TopLine Value="92"/>
<CursorPos X="36" Y="105"/>
<UsageCount Value="21"/>
<CursorPos X="19" Y="105"/>
<UsageCount Value="67"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
</Unit1>
@ -64,27 +64,27 @@
<UnitName Value="XMLRead"/>
<TopLine Value="3782"/>
<CursorPos X="11" Y="3800"/>
<UsageCount Value="10"/>
<UsageCount Value="5"/>
</Unit2>
<Unit3>
<Filename Value="../../../install/fpcsrc/packages/fcl-xml/src/dom.pp"/>
<UnitName Value="DOM"/>
<TopLine Value="945"/>
<CursorPos X="3" Y="947"/>
<UsageCount Value="10"/>
<UsageCount Value="5"/>
</Unit3>
<Unit4>
<Filename Value="../../../../../usr/local/share/lazarus/lcl/comctrls.pp"/>
<UnitName Value="ComCtrls"/>
<TopLine Value="811"/>
<CursorPos X="28" Y="829"/>
<UsageCount Value="10"/>
<UsageCount Value="5"/>
</Unit4>
<Unit5>
<Filename Value="../../../../../usr/local/share/lazarus/lcl/interfaces/gtk/gtkwidgetset.inc"/>
<TopLine Value="4300"/>
<CursorPos X="59" Y="4318"/>
<UsageCount Value="10"/>
<UsageCount Value="5"/>
</Unit5>
</Units>
<JumpHistory Count="4" HistoryIndex="3">

View File

@ -1599,7 +1599,7 @@ begin
XMLConfig.SetDeleteValue(Path+'CharcaseFileAction/Value',
CharCaseFileActionNames[fCharcaseFileAction],
CharCaseFileActionNames[ccfaAutoRename]);
XMLConfig.SetDeleteValue(Path+'AutoDeleteAmbiguousSources/Value',
XMLConfig.SetDeleteValue(Path+'AmbiguousFileAction/Value',
AmbiguousFileActionNames[fAmbiguousFileAction],
AmbiguousFileActionNames[afaAsk]);
XMLConfig.SetDeleteValue(Path+'AskForFilenameOnNewFile/Value',