Changeset - r22215:0ef7f55f1719
[Not reviewed]
master
0 1 0
alberth - 9 years ago 2015-09-13 12:04:47
alberth@openttd.org
(svn r27397) -Fix(r27346)[FS#6370]: Fix object editing crash in scenario editor (based on work by adf88)
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/terraform_gui.cpp
Show inline comments
 
@@ -462,7 +462,7 @@ static const NWidgetPart _nested_scen_ed
 
				NWidget(WWT_IMGBTN, COLOUR_GREY, WID_ETT_PLACE_DESERT), SetMinimalSize(22, 22),
 
											SetFill(0, 1), SetDataTip(SPR_IMG_DESERT, STR_TERRAFORM_TOOLTIP_DEFINE_DESERT_AREA),
 
			EndContainer(),
 
			NWidget(WWT_IMGBTN, COLOUR_GREY, WID_ETT_PLACE_OBJECT), SetMinimalSize(23, 22),
 
			NWidget(WWT_PUSHIMGBTN, COLOUR_GREY, WID_ETT_PLACE_OBJECT), SetMinimalSize(23, 22),
 
										SetFill(0, 1), SetDataTip(SPR_IMG_TRANSMITTER, STR_SCENEDIT_TOOLBAR_PLACE_OBJECT),
 
			NWidget(NWID_SPACER), SetFill(1, 0),
 
		EndContainer(),
 
@@ -704,7 +704,6 @@ struct ScenarioEditorLandscapeGeneration
 
	{
 
		this->RaiseButtons();
 
		this->SetDirty();
 
		DeleteWindowById(WC_BUILD_OBJECT, 0);
 
	}
 

	
 
	static HotkeyList hotkeys;
0 comments (0 inline, 0 general)