--- deliantra/Deliantra-Client/DC/MapWidget.pm 2006/06/21 12:59:23 1.67 +++ deliantra/Deliantra-Client/DC/MapWidget.pm 2006/07/02 19:32:55 1.70 @@ -169,7 +169,8 @@ $::CONN->user_send ($self->{completer}{last_command}) if exists $self->{completer}{last_command}; } elsif ($uni == ord "\t") { - $::INV_WINDOW->toggle_visibility; + $::PL_WINDOW->toggle_visibility; + $::PL_NOTEBOOK->set_current_page ("Inventory"); } elsif ($sym == CFClient::SDLK_KP_PLUS || $uni == ord "+") { $::CONN->user_send ("rotateshoottype +"); } elsif ($sym == CFClient::SDLK_KP_MINUS || $uni == ord "-") { @@ -490,7 +491,8 @@ if ($ev->{button} == 3) { (new CFClient::UI::Menu items => [ - ["bind to a key" => sub { $::BIND_EDITOR->do_quick_binding ([$self->{select}], sub { $entry->grab_focus }) }] + ["bind " . (CFClient::UI::Label::escape $self->{select}) . " to a key" + => sub { $::BIND_EDITOR->do_quick_binding ([$self->{select}], sub { $entry->grab_focus }) }] ], )->popup ($ev); return 1; @@ -507,7 +509,7 @@ $self->{last_command} = $self->{select}; $::CONN->user_send ($self->{select}); - unshift @{$self->{history}}, $self->{select}; + unshift @{$self->{history}}, $self->{entry}->get_text; $self->{hist_ptr} = 0; $self->hide;