1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

do not adjust error panel height if panal was already open

This commit is contained in:
Marc Zinnschlag 2015-11-21 12:52:32 +01:00
parent 1093a53cf9
commit 26640d17eb

View File

@ -70,6 +70,9 @@ void CSVWorld::ScriptSubView::adjustSplitter()
if (mErrors->rowCount()) if (mErrors->rowCount())
{ {
if (mErrors->height())
return; // keep old height if the error panel was already open
sizes << 1 << 1; sizes << 1 << 1;
} }
else else