mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +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;
|
||||
case Panel.Index of
|
||||
2: ImageIndex := 149;
|
||||
3: begin
|
||||
3: if ActiveConnection <> nil then begin
|
||||
if opSSL in ActiveConnection.Parameters.Options then
|
||||
ImageIndex := 144 // Lock
|
||||
else
|
||||
|
Reference in New Issue
Block a user