mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Fix enabled "Open" button with no focused session.
This commit is contained in:
@ -54,6 +54,7 @@ object connform: Tconnform
|
||||
Anchors = [akRight, akBottom]
|
||||
Caption = 'Open'
|
||||
Default = True
|
||||
Enabled = False
|
||||
TabOrder = 5
|
||||
OnClick = btnOpenClick
|
||||
end
|
||||
|
@ -392,6 +392,7 @@ begin
|
||||
btnNew.Enabled := SessionExists;
|
||||
btnSave.Enabled := not SessionExists;
|
||||
btnDelete.Enabled := SessionFocused;
|
||||
btnOpen.Enabled := SessionFocused;
|
||||
FSessionModified := False;
|
||||
FSessionAdded := False;
|
||||
ListSessions.Repaint;
|
||||
|
Reference in New Issue
Block a user