Source

Kephra / lib / Kephra / File.pm

Diff from to

File lib/Kephra/File.pm

 	my $doc = Kephra::Document->new();
 	$_->add_page( $doc->panel->{$_}, 'rightmost', $doc->title, 0 ) for Kephra::API::all_docbars();;
 	Kephra::API::focus( $doc->editor->{$docbar} );
+	Kephra::API::main_window()->refresh_title();
 }
 
 sub open {
 		$ed = Kephra::API::editor();
 		$ed->EmptyUndoBuffer;
 		#$ed->mount_events();
+		Kephra::API::main_window()->refresh_title();
 	}
 }