From c67ba1afd339ed8d20cb95db1dab4e08fc2c6af0 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 1 Apr 2020 09:22:50 +0200 Subject: [PATCH] Issue #692: support urls in grid cells starting with "www.", which are accepted by web browsers --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 0d1cdaf4..e8ac5c94 100644 --- a/source/main.pas +++ b/source/main.pas @@ -5870,7 +5870,7 @@ begin actDataSaveBlobToFile.Enabled := HasConnection and inDataOrQueryTabNotEmpty and Assigned(Grid.FocusedNode); actGridEditFunction.Enabled := HasConnection and inDataOrQueryTabNotEmpty and Assigned(Grid.FocusedNode); actDataPreview.Enabled := HasConnection and inDataOrQueryTabNotEmpty and Assigned(Grid.FocusedNode); - actDataOpenUrl.Enabled := ExecRegExpr('^https?://[^\s]+$', CellText); + actDataOpenUrl.Enabled := (Length(CellText)