mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Avoid an AV in cases when main tab is "Data" on startup.
This commit is contained in:
@ -2407,9 +2407,9 @@ var
|
|||||||
begin
|
begin
|
||||||
// Load BLOB contents into preview area
|
// Load BLOB contents into preview area
|
||||||
Grid := ActiveGrid;
|
Grid := ActiveGrid;
|
||||||
if not Assigned(Grid) then
|
|
||||||
Exit;
|
|
||||||
Results := GridResult(Grid);
|
Results := GridResult(Grid);
|
||||||
|
if not Assigned(Results) then
|
||||||
|
Exit;
|
||||||
Screen.Cursor := crHourGlass;
|
Screen.Cursor := crHourGlass;
|
||||||
try
|
try
|
||||||
ShowStatusMsg('Loading contents into image viewer ...');
|
ShowStatusMsg('Loading contents into image viewer ...');
|
||||||
|
Reference in New Issue
Block a user