mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +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
|
||||
// Load BLOB contents into preview area
|
||||
Grid := ActiveGrid;
|
||||
if not Assigned(Grid) then
|
||||
Exit;
|
||||
Results := GridResult(Grid);
|
||||
if not Assigned(Results) then
|
||||
Exit;
|
||||
Screen.Cursor := crHourGlass;
|
||||
try
|
||||
ShowStatusMsg('Loading contents into image viewer ...');
|
||||
|
Reference in New Issue
Block a user