Permalink
Browse files

Unhide first two quick filter items when no node is focused. See #449.

  • Loading branch information...
ansgarbecker committed Dec 20, 2018
1 parent 8df68dd commit 367be7c8393fdb6c500c58cf5952061aee1cdab1
Showing with 4 additions and 2 deletions.
  1. +4 −2 source/main.pas
@@ -6513,11 +6513,13 @@ procedure TMainForm.popupDataGridPopup(Sender: TObject);
QF3.Hint := QF3.Hint + Col + ' IS NULL';
QF4.Hint := QF4.Hint + Col + ' IS NULL';
end;
QF1.Visible := HasNotNullValue or HasNullValue;
QF2.Visible := HasNotNullValue or HasNullValue;
QF3.Visible := HasNotNullValue;
QF4.Visible := HasNotNullValue;
QF5.Visible := HasNotNullValue;
QF6.Visible := HasNotNullValue;
QF7.Visible := HasNotNullValue;
QF3.Visible := HasNotNullValue;
QF4.Visible := HasNotNullValue;

// Block 2: WHERE col = [ask user for value]
QF8.Hint := Col + ' = "..."';

0 comments on commit 367be7c

Please sign in to comment.