mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
do not adjust error panel height if panal was already open
(cherry picked from commit 26640d17eb053176b45482e801236415a42ddf1f)
This commit is contained in:
parent
2c5f0bf6c5
commit
8da783d877
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user