Changeset 4189
- Timestamp:
- 04/28/09 08:12:48 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-SpellCheck/lib/Padre/Plugin/SpellCheck/Preferences.pm
r4188 r4189 53 53 sub _on_butok_clicked { 54 54 my ($self) = @_; 55 my $plugin = $self->_plugin; 56 57 # read plugin preferences 58 my $prefs = $plugin->config_read || {}; 59 60 # overwrite dictionary preference 61 my $dic = $self->_dict_combo->GetValue; 62 $prefs->{dictionary} = $dic; 63 64 # store plugin preferences 65 $plugin->config_write($prefs); 55 66 $self->Destroy; 56 67 }
Note: See TracChangeset
for help on using the changeset viewer.
