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:
parent
1093a53cf9
commit
26640d17eb
@ -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