Remove history when window closed

Thanks for patch to Bill Rushmore
This commit is contained in:
Duncan Ferguson 2014-09-28 09:00:44 +01:00
parent 56dfd55d30
commit 12587955b2
3 changed files with 4 additions and 0 deletions

View file

@ -452,6 +452,8 @@ sub show_history() {
my ($self) = @_;
if ( $self->config->{show_history} ) {
$windows{history}->packForget();
$windows{history}->selectAll();
$windows{history}->deleteSelected();
$self->config->{show_history} = 0;
}
else {