Skip to content
Snippets Groups Projects
Commit 5be3032c authored by rswindell's avatar rswindell
Browse files

Fixed bug with KeyboardActive checkbox alternating checked status and not...

Fixed bug with KeyboardActive checkbox alternating checked status and not reflecting previously saved value.
parent ca1a5af4
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,6 @@ __fastcall TSpyForm::TSpyForm(TComponent* Owner) ...@@ -52,7 +52,6 @@ __fastcall TSpyForm::TSpyForm(TComponent* Owner)
{ {
Width=MainForm->SpyTerminalWidth; Width=MainForm->SpyTerminalWidth;
Height=MainForm->SpyTerminalHeight; Height=MainForm->SpyTerminalHeight;
KeyboardActive->Checked=MainForm->SpyTerminalKeyboardActive;
Terminal = new TEmulVT(this); Terminal = new TEmulVT(this);
Terminal->Parent=this; Terminal->Parent=this;
Terminal->Align=alClient; Terminal->Align=alClient;
...@@ -120,6 +119,8 @@ void __fastcall TSpyForm::FormShow(TObject *Sender) ...@@ -120,6 +119,8 @@ void __fastcall TSpyForm::FormShow(TObject *Sender)
Terminal->Clear(); Terminal->Clear();
Terminal->WriteStr("*** Synchronet Local Spy ***\r\n\r\n"); Terminal->WriteStr("*** Synchronet Local Spy ***\r\n\r\n");
Terminal->WriteStr("ANSI Terminal Emulation:"+CopyRight+"\r\n\r\n"); Terminal->WriteStr("ANSI Terminal Emulation:"+CopyRight+"\r\n\r\n");
KeyboardActive->Checked=!MainForm->SpyTerminalKeyboardActive;
KeyboardActiveClick(Sender); KeyboardActiveClick(Sender);
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment