Commits

Herbert Breunung  committed 8f4e2b0

little cleanup

  • Participants
  • Parent commits f4a7a7b
  • Branches sp1

Comments (0)

Files changed (2)

File lib/Kephra/App/Bar/Document.pm

 	my $doc = Kephra::API::Doc::find($page);
 	Kephra::API::Doc::set_active( $doc );
 	Kephra::API::focus ( defined $doc ? $doc->editor->{$self} : $page );
+	Kephra::API::main_window()->refresh_title();
+
 }
 
 

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

 	push @passive_bar, $active_bar;
 	$active_bar = shift @passive_bar;
 	$active_bar->raise_page( $active_bar->GetSelection );
-	Kephra::API::main_window()->refresh_title();
 }
 sub select_docbar_prev {
 	unshift @passive_bar, $active_bar;
 	$active_bar = pop @passive_bar;
 	$active_bar->raise_page( $active_bar->GetSelection );
-	Kephra::API::main_window()->refresh_title();
 }
 sub select_docbar {
 	my $bar = shift;