mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Avoid a complete list refresh after editing a single server variable, only refresh the relevant node.
This commit is contained in:
@@ -6972,8 +6972,9 @@ begin
|
||||
NodeData := ListVariables.GetNodeData(ListVariables.FocusedNode);
|
||||
EditVariableForm.VarName := NodeData.Captions[0];
|
||||
EditVariableForm.VarValue := NodeData.Captions[1];
|
||||
// Refresh relevant list node
|
||||
if EditVariableForm.ShowModal = mrOK then
|
||||
ShowVariablesAndProcesses(Sender);
|
||||
NodeData.Captions[1] := GetVar('SHOW VARIABLES LIKE '+esc(NodeData.Captions[0]), 1);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user