mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
Fix crash when there is no ActiveConnection. See http://www.heidisql.com/forum.php?t=7749
This commit is contained in:
@ -1068,7 +1068,7 @@ begin
|
|||||||
ImageIndex := -1;
|
ImageIndex := -1;
|
||||||
case Panel.Index of
|
case Panel.Index of
|
||||||
2: ImageIndex := 149;
|
2: ImageIndex := 149;
|
||||||
3: begin
|
3: if ActiveConnection <> nil then begin
|
||||||
if opSSL in ActiveConnection.Parameters.Options then
|
if opSSL in ActiveConnection.Parameters.Options then
|
||||||
ImageIndex := 144 // Lock
|
ImageIndex := 144 // Lock
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user