mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Reset mapDescription scrolling position on change of map / save
This one fixes bug #1974
This commit is contained in:
		| @@ -2171,6 +2171,10 @@ void InfoCard::changeSelection( const CMapInfo *to ) | ||||
| 		else | ||||
| 			mapDescription->setText(to->mapHeader->description); | ||||
|  | ||||
| 		mapDescription->label->scrollTextTo(0); | ||||
| 		if (mapDescription->slider) | ||||
| 			mapDescription->slider->moveToMin(); | ||||
|  | ||||
| 		if(SEL->screenType != CMenuScreen::newGame && SEL->screenType != CMenuScreen::campaignList) { | ||||
| 			//difficulty->block(true); | ||||
| 			difficulty->setSelected(SEL->sInfo.difficulty); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user