ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/MapWidget.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.75 by root, Tue Jul 18 06:56:35 2006 UTC vs.
Revision 1.76 by elmex, Sat Jul 22 12:36:17 2006 UTC

60 60
61sub clr_commands { 61sub clr_commands {
62 my ($self) = @_; 62 my ($self) = @_;
63 63
64 %{$self->{completer}{command}} = (); 64 %{$self->{completer}{command}} = ();
65
66 $self->{completer}->hide
67 if $self->{completer};
65} 68}
66 69
67sub invoke_button_down { 70sub invoke_button_down {
68 my ($self, $ev, $x, $y) = @_; 71 my ($self, $ev, $x, $y) = @_;
69 72
616} 619}
617 620
618sub hide { 621sub hide {
619 my ($self) = @_; 622 my ($self) = @_;
620 623
624 $self->{hist_ptr} = 0;
625
621 $self->SUPER::hide; 626 $self->SUPER::hide;
622 $self->{entry}->set_text (""); 627 $self->{entry}->set_text ("");
623} 628}
624 629
625sub invoke_key_down { 630sub invoke_key_down {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines