1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +00:00

do not adjust error panel height if panal was already open

(cherry picked from commit 26640d17eb053176b45482e801236415a42ddf1f)
This commit is contained in:
Marc Zinnschlag 2015-11-21 12:52:32 +01:00 committed by cc9cii
parent 2c5f0bf6c5
commit 8da783d877

View File

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