mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-29 19:11:37 +00:00
do not adjust error panel height if panal was already open
(cherry picked from commit 26640d17eb
)
This commit is contained in:
parent
2c5f0bf6c5
commit
8da783d877
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue