mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
save input history of evaluate/modify dialog in a better way (as it was designed)
git-svn-id: trunk@14696 -
This commit is contained in:
parent
875e30cdd3
commit
6e210ebe71
@ -136,7 +136,6 @@ procedure TEvaluateDlg.FormClose(Sender: TObject;
|
||||
var CloseAction: TCloseAction);
|
||||
begin
|
||||
IDEDialogLayoutList.SaveLayout(Self);
|
||||
InputHistories.HistoryLists.GetList(ClassName, True).Assign(cmbExpression.Items);
|
||||
end;
|
||||
|
||||
procedure TEvaluateDlg.FormShow(Sender: TObject);
|
||||
@ -156,6 +155,7 @@ var
|
||||
S, R: String;
|
||||
begin
|
||||
S := cmbExpression.Text;
|
||||
InputHistories.HistoryLists.Add(ClassName, S);
|
||||
if DebugBoss.Evaluate(S, R)
|
||||
then begin
|
||||
if cmbExpression.Items.IndexOf(S) = -1
|
||||
|
Loading…
Reference in New Issue
Block a user