mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Remove unnecessary redraws
This commit is contained in:
parent
c011a5a9cf
commit
f09897b2b4
@ -37,7 +37,6 @@ struct CPathsInfo;
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
class CButton;
|
||||
class CToggleGroup;
|
||||
class CAdvMapInt;
|
||||
class CCastleInterface;
|
||||
class BattleInterface;
|
||||
|
@ -35,7 +35,6 @@ class CPicture;
|
||||
class CFilledTexture;
|
||||
class CButton;
|
||||
class CToggleButton;
|
||||
class CToggleGroup;
|
||||
class CLabel;
|
||||
class CTextBox;
|
||||
class CAnimImage;
|
||||
|
@ -457,8 +457,7 @@ void CToggleGroup::selectionChanged(int to)
|
||||
buttons[to]->setSelected(true);
|
||||
|
||||
onChange(to);
|
||||
if (parent)
|
||||
parent->redraw();
|
||||
redraw();
|
||||
}
|
||||
|
||||
int CToggleGroup::getSelected() const
|
||||
|
@ -36,7 +36,6 @@ class CTextInput;
|
||||
class CListBox;
|
||||
class CLabelGroup;
|
||||
class CToggleButton;
|
||||
class CToggleGroup;
|
||||
class CVolumeSlider;
|
||||
class CGStatusBar;
|
||||
class CTextBox;
|
||||
|
Loading…
x
Reference in New Issue
Block a user