mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
In widgets rename all the addEventListener calls to on.
Some minor fixes in cpp, css, xml and html syntax highlighters.
This commit is contained in:
@@ -530,7 +530,7 @@ UIWindow* UIPluginManager::New( UISceneNode* sceneNode, PluginManager* manager,
|
||||
prefs->setEnabled( enabled && plugin->hasFileConfig() );
|
||||
}
|
||||
};
|
||||
tv->addEventListener( Event::OnClose, [manager, tv]( const Event* ) {
|
||||
tv->on( Event::OnClose, [manager, tv]( const Event* ) {
|
||||
if ( tv->readyCbs.empty() )
|
||||
return;
|
||||
for ( const auto& cb : tv->readyCbs ) {
|
||||
|
||||
Reference in New Issue
Block a user