mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Clear grid filter editor when refreshing data or going to different table. Fixes issue #1873
This commit is contained in:
@@ -3499,6 +3499,8 @@ begin
|
||||
end;
|
||||
|
||||
if Assigned(Data) then begin
|
||||
editFilterVT.Clear;
|
||||
TimerFilterVT.OnTimer(Sender);
|
||||
|
||||
// Set up grid column headers
|
||||
ShowStatusMsg('Setting up columns ...');
|
||||
@@ -4036,6 +4038,8 @@ begin
|
||||
ProgressBarStatus.Hide;
|
||||
|
||||
if Assigned(Results) and Results.HasResult then begin
|
||||
editFilterVT.Clear;
|
||||
TimerFilterVT.OnTimer(Sender);
|
||||
ActiveGrid.BeginUpdate;
|
||||
// Reset filter if filter panel was disabled
|
||||
UpdateFilterPanel(Sender);
|
||||
|
||||
Reference in New Issue
Block a user