Commit 48f1861e authored by SnowLeo's avatar SnowLeo

Set keyboard parent for any os but Mac

parent 59ae73c0
......@@ -132,7 +132,9 @@ void UBBoardPaletteManager::setupPalettes()
if (UBPlatformUtils::hasVirtualKeyboard())
{
mKeyboardPalette = UBKeyboardPalette::create(0);
//mKeyboardPalette->setParent(mContainer);
#ifndef Q_WS_MAC
mKeyboardPalette->setParent(mContainer);
#endif
}
mZoomPalette = new UBZoomPalette(mContainer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment