Jelajahi Sumber

remove removefoucs

Laserlicht 1 tahun lalu
induk
melakukan
77505af71b
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  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"));
 		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 = std::make_shared<CTextInput>(r, FONT_SMALL, std::bind(&CSpellWindow::searchInput, this));
-		searchBox->removeFocus();
-		searchBox->setText("");		
 	}
 	}
 
 
 	processSpells();
 	processSpells();