mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Don't assume there were changes for a changed and then reverted grid cell content
This commit is contained in:
@@ -788,11 +788,11 @@ begin
|
||||
if Result then begin
|
||||
FStopping := True;
|
||||
if Assigned(FTextEditor) then begin
|
||||
if (FTextEditor.memoText.Modified) then
|
||||
if FTextEditor.GetText <> FTree.Text[FNode, FColumn] then
|
||||
FTree.Text[FNode, FColumn] := FTextEditor.GetText;
|
||||
FTextEditor.Close;
|
||||
end else begin
|
||||
if FEdit.Modified then
|
||||
if FEdit.Text <> FTree.Text[FNode, FColumn] then
|
||||
FTree.Text[FNode, FColumn] := FEdit.Text;
|
||||
end;
|
||||
FPanel.Hide;
|
||||
|
||||
Reference in New Issue
Block a user