diff options
author | Gergo Mocsi <gmocsi91@gmail.com> | 2013-07-30 14:48:57 +0200 |
---|---|---|
committer | Gergo Mocsi <gmocsi91@gmail.com> | 2013-09-02 18:16:53 +0200 |
commit | c40ba9c3e041a5b94bcbc2be7aa49a1c7df6a188 (patch) | |
tree | cda2734989f486af6c594fe8fca6c87c0ab3924b /basctl | |
parent | GSOC work, config entry to store options (diff) | |
download | core-c40ba9c3e041a5b94bcbc2be7aa49a1c7df6a188.tar.gz core-c40ba9c3e041a5b94bcbc2be7aa49a1c7df6a188.zip |
GSOC work, config crach fix
Storing code completition data in config file is fully functional.
Change-Id: If9a974dd0ed052e26963ad5f202493674f1a51ca
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/codecompleteoptionsdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/codecompleteoptionsdlg.cxx b/basctl/source/basicide/codecompleteoptionsdlg.cxx index aa887a235440..130f3617715c 100644 --- a/basctl/source/basicide/codecompleteoptionsdlg.cxx +++ b/basctl/source/basicide/codecompleteoptionsdlg.cxx @@ -42,13 +42,13 @@ CodeCompleteOptionsDlg::CodeCompleteOptionsDlg( Window* pWindow ) pOkBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, OkHdl ) ); pCancelBtn->SetClickHdl( LINK( this, CodeCompleteOptionsDlg, CancelHdl ) ); - //LoadConfig(); + LoadConfig(); - pCodeCompleteChk->Check( CodeCompleteOptions::IsCodeCompleteOn() ); + /*pCodeCompleteChk->Check( CodeCompleteOptions::IsCodeCompleteOn() ); pAutocloseProcChk->Check( CodeCompleteOptions::IsProcedureAutoCompleteOn() ); pAutocloseQuotesChk->Check( CodeCompleteOptions::IsAutoCloseQuotesOn() ); pAutocloseParenChk->Check( CodeCompleteOptions::IsAutoCloseParenthesisOn() ); - pAutoCorrectSpellingChk->Check( CodeCompleteOptions::IsAutoCorrectSpellingOn() ); + pAutoCorrectSpellingChk->Check( CodeCompleteOptions::IsAutoCorrectSpellingOn() );*/ } @@ -64,7 +64,7 @@ IMPL_LINK_NOARG(CodeCompleteOptionsDlg, OkHdl) CodeCompleteOptions::SetAutoCloseParenthesisOn( pAutocloseParenChk->IsChecked() ); CodeCompleteOptions::SetAutoCorrectSpellingOn( pAutoCorrectSpellingChk->IsChecked() ); - //SaveConfig(); + SaveConfig(); Close(); return 0; } |