ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/AttrEdit.pm
(Generate patch)

Comparing deliantra/gde/GCE/AttrEdit.pm (file contents):
Revision 1.50 by elmex, Fri Mar 19 20:52:13 2010 UTC vs.
Revision 1.51 by elmex, Fri Mar 19 20:57:53 2010 UTC

248 1 248 1
249 }); 249 });
250 250
251 $ed->signal_connect (clicked => sub { 251 $ed->signal_connect (clicked => sub {
252 AnyEvent::EditText::edit ($ar->get ($key), sub { 252 AnyEvent::EditText::edit ($ar->get ($key), sub {
253 my ($new, $change) = @_; 253 my ($new, $change, $err) = @_;
254
255 if (not defined $new) {
256 quick_msg ("Error while starting editor: $err");
257 return;
258 }
254 259
255 $change_field->($new) 260 $change_field->($new)
256 if $change; 261 if $change;
257 }); 262 });
258 }); 263 });

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines