Commits

Herbert Breunung committed 37084d2

fix docbar prototype

  • Participants
  • Parent commits ac839f5
  • Branches sp1

Comments (0)

Files changed (2)

lib/Kephra/App/Frame.pm

 sub refresh_title {
 	my $self = shift;
 	my $doc = Kephra::API::document();
-	my $title;
-	$title .= $doc->title if $doc->title;
+	my $title = $doc->title;
 	$title .= ' ('.$doc->file_path.')' if $doc->file_path;
 	$self->set_title( $title . " - $title_end" );
 }
 
 
 package main;
-Kephra::App->
+Kephra::App->new->MainLoop;