Commits

Herbert Breunung committed 1b64d01

adding ouline

  • Participants
  • Parent commits b8ce224

Comments (0)

Files changed (2)

File lib/Kephra/App/Part/Outline.pm

Empty file added.

File lib/Kephra/App/Splitter.pm

 sub resplit {
 	my $self = shift;
 	return if $self->IsSplit;
-	return unless $self->{'child2'};
+	return Kephra::Log::error("can't split without two child widgets")
+		unless $self->{'child1'} and $self->{'child2'};
 	if ($self->GetSplitMode eq &Wx::wxSPLIT_HORIZONTAL){
 		$self->SplitHorizontally( $self->{'child1'}, $self->{'child2'}, $self->{'position'} )
 	} else {