mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix not visible text after switching to channel without slider in log
This commit is contained in:
@@ -409,6 +409,7 @@ void CTextBox::setText(const std::string & text)
|
||||
{
|
||||
// slider is no longer needed
|
||||
slider.reset();
|
||||
label->scrollTextTo(0);
|
||||
}
|
||||
else if(slider)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user