Source

Kephra / lib / Kephra / App / Editor.pm

Diff from to

lib/Kephra/App/Editor.pm

 	#Wx::Event::EVT_RIGHT_DOWN
 	#Wx::Event::EVT_STC_UPDATEUI
 	Wx::Event::EVT_STC_SAVEPOINTREACHED
-		($self, -1, sub { Kephra::API::docbar()->refresh_page_title() });
+		($self, -1, sub { Kephra::App::Part::Editor::refresh_doc_label() });
 	Wx::Event::EVT_STC_SAVEPOINTLEFT
-		($self, -1, sub { Kephra::API::docbar()->refresh_page_title() });
+		($self, -1, sub { Kephra::App::Part::Editor::refresh_doc_label() });
 	#Wx::Event::EVT_DROP_FILES       ($ep, sub{});
 	#Wx::Event::EVT_STC_START_DRAG   ($ep, -1, sub {
 	#Wx::Event::EVT_STC_DRAG_OVER    ($ep, -1, sub { $droppos = $_[1]->GetPosition });