Trim clipboard contents for quick filter menu items.

This commit is contained in:
Ansgar Becker
2013-09-28 15:48:02 +00:00
parent c1cb73e36a
commit b74f2c6fbb

View File

@@ -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);