security check on parent widget (just in case)

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent e21fe80331
commit 3a4843f421
  1. 3
      src/gui/UBDockPalette.cpp

@ -511,7 +511,10 @@ void UBDockPalette::moveTabs()
if(eUBDockTabOrientation_Down == mTabsOrientation)
{
if (mOrientation == eUBDockOrientation_Right)
{
if (parentWidget())
y = parentWidget()->height() - border()- mTabWidgets.size() * TABSIZE;
}
else
y = height() - border()- mTabWidgets.size() * TABSIZE;
}

Loading…
Cancel
Save