mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Don't try to set a cursor before one exists
This commit is contained in:
		
							parent
							
								
									2f082ef796
								
							
						
					
					
						commit
						8381cad5a4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -174,11 +174,11 @@ namespace MWGui
 | 
			
		|||
 | 
			
		||||
        MyGUI::InputManager::getInstance().eventChangeKeyFocus += MyGUI::newDelegate(this, &WindowManager::onKeyFocusChanged);
 | 
			
		||||
 | 
			
		||||
        mCursorManager->setEnabled(true);
 | 
			
		||||
 | 
			
		||||
        onCursorChange(MyGUI::PointerManager::getInstance().getDefaultPointer());
 | 
			
		||||
        SDL_ShowCursor(false);
 | 
			
		||||
 | 
			
		||||
        mCursorManager->setEnabled(true);
 | 
			
		||||
 | 
			
		||||
        // hide mygui's pointer
 | 
			
		||||
        MyGUI::PointerManager::getInstance().setVisible(false);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue