From: <geo...@us...> - 2014-07-21 21:14:36
|
Revision: 7279 http://sourceforge.net/p/freeorion/code/7279 Author: geoffthemedio Date: 2014-07-21 21:14:32 +0000 (Mon, 21 Jul 2014) Log Message: ----------- Removed setting of map pedia article when opening the research or production screens. Modified Paths: -------------- trunk/FreeOrion/UI/MapWnd.cpp Modified: trunk/FreeOrion/UI/MapWnd.cpp =================================================================== --- trunk/FreeOrion/UI/MapWnd.cpp 2014-07-21 17:54:07 UTC (rev 7278) +++ trunk/FreeOrion/UI/MapWnd.cpp 2014-07-21 21:14:32 UTC (rev 7279) @@ -4835,8 +4835,6 @@ // indicate selection on button m_btn_research->SetUnpressedGraphic(GG::SubTexture(ClientUI::GetTexture(ClientUI::ArtDir() / "icons" / "buttons" / "research_mouseover.png"))); m_btn_research->SetRolloverGraphic (GG::SubTexture(ClientUI::GetTexture(ClientUI::ArtDir() / "icons" / "buttons" / "research.png"))); - - m_pedia_panel->SetText("ENC_TECH", false); } void MapWnd::HideResearch() { @@ -4865,7 +4863,6 @@ HideResearch(); HideDesign(); HideSidePanel(); - m_pedia_panel->SetIndex(); // show the production window m_production_wnd->Update(); |