From b74f2c6fbbbff9fd6c1744f0f94c9f4bd1be22e4 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 28 Sep 2013 15:48:02 +0000 Subject: [PATCH] Trim clipboard contents for quick filter menu items. --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 1ed7cc78..a63626b4 100644 --- a/source/main.pas +++ b/source/main.pas @@ -6104,7 +6104,7 @@ begin QF14.Hint := Col + ' IS NOT NULL'; // Block 3: WHERE col = [clipboard content] - Value := Clipboard.AsText; + Value := Trim(Clipboard.AsText); if Length(Value) < SIZE_KB then begin QF15.Enabled := true; QF15.Hint := Col + ' = ' + esc(Value); QF16.Enabled := true; QF16.Hint := Col + ' != ' + esc(Value);