mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Issue #692: support urls in grid cells starting with "www.", which are accepted by web browsers
This commit is contained in:
@@ -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)<SIZE_MB) and ExecRegExpr('^(https?://[^\s]+|www\.\w\S+)$', CellText);
|
||||
actUnixTimestampColumn.Enabled := HasConnection and inDataTab and EnableTimestamp;
|
||||
actUnixTimestampColumn.Checked := inDataTab and HandleUnixTimestampColumn(Grid, Grid.FocusedColumn);
|
||||
actPreviousResult.Enabled := HasConnection and inDataOrQueryTabNotEmpty;
|
||||
|
||||
Reference in New Issue
Block a user