mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
do not adjust error panel height if panal was already open
This commit is contained in:
parent
1093a53cf9
commit
26640d17eb
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue