mirror of https://github.com/odrling/Aegisub
Fix crash when adjusting vertical zoom
This commit is contained in:
parent
62a81df4b2
commit
10cbff0ee2
|
@ -199,7 +199,7 @@ public:
|
||||||
{
|
{
|
||||||
size_t block_count = data.size();
|
size_t block_count = data.size();
|
||||||
data.clear();
|
data.clear();
|
||||||
SetBlockCount(block_count);
|
data.resize(block_count);
|
||||||
age.clear();
|
age.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue