Laserlicht 1 рік тому
батько
коміт
77505af71b
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      client/windows/CSpellWindow.cpp

+ 0 - 2
client/windows/CSpellWindow.cpp

@@ -137,8 +137,6 @@ CSpellWindow::CSpellWindow(const CGHeroInstance * _myHero, CPlayerInterface * _m
 		searchBoxDescription = std::make_shared<CLabel>(r.center().x, r.center().y, FONT_SMALL, ETextAlignment::CENTER, grayedColor, CGI->generaltexth->translate("vcmi.spellBook.search"));
 
 		searchBox = std::make_shared<CTextInput>(r, FONT_SMALL, std::bind(&CSpellWindow::searchInput, this));
-		searchBox->removeFocus();
-		searchBox->setText("");		
 	}
 
 	processSpells();