Merge pull request #206 from henrikbrixandersen/master
Remove last remains of close-after-slicing option.
This commit is contained in:
commit
2e44f60c61
@ -213,7 +213,6 @@ sub do_slice {
|
||||
$process_dialog->Destroy;
|
||||
undef $process_dialog;
|
||||
|
||||
if (!$main::opt{close_after_slicing}) {
|
||||
my $message = sprintf "%s was successfully sliced in %d minutes and %.3f seconds.",
|
||||
$input_file_basename, int($skein->processing_time/60),
|
||||
$skein->processing_time - int($skein->processing_time/60)*60;
|
||||
@ -221,9 +220,6 @@ sub do_slice {
|
||||
if ($self->{growler});
|
||||
Wx::MessageDialog->new($self, $message, 'Done!',
|
||||
wxOK | wxICON_INFORMATION)->ShowModal;
|
||||
} else {
|
||||
$self->GetParent->Destroy(); # quit
|
||||
}
|
||||
};
|
||||
$self->catch_error(sub { $process_dialog->Destroy if $process_dialog });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user