mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: avoid repeated login handle
Change-Id: Id18270a130299e6cd091cec4a05549cd4416b736
This commit is contained in:
		
							parent
							
								
									72e06cbd8b
								
							
						
					
					
						commit
						684ff8047a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1667,9 +1667,9 @@ void GUI_App::init_networking_callbacks() | |||
|     BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": enter, m_agent=%1%")%m_agent; | ||||
|     if (m_agent) { | ||||
|         //set callbacks
 | ||||
|         m_agent->set_on_user_login_fn([this](int online_login, bool login) { | ||||
|             GUI::wxGetApp().request_user_handle(online_login); | ||||
|             }); | ||||
|         //m_agent->set_on_user_login_fn([this](int online_login, bool login) {
 | ||||
|         //    GUI::wxGetApp().request_user_handle(online_login);
 | ||||
|         //    });
 | ||||
| 
 | ||||
|         m_agent->set_on_server_connected_fn([this]() { | ||||
|             if (m_is_closing) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao.jin
						tao.jin