|
|
@ -731,11 +731,11 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is |
|
|
|
if(mKeyboardPalette->m_isVisible) |
|
|
|
if(mKeyboardPalette->m_isVisible) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mKeyboardPalette->hide(); |
|
|
|
mKeyboardPalette->hide(); |
|
|
|
mKeyboardPalette->setParent(brWnd); |
|
|
|
mKeyboardPalette->setParent(UBApplication::mainWindow); |
|
|
|
mKeyboardPalette->show(); |
|
|
|
mKeyboardPalette->show(); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
mKeyboardPalette->setParent(brWnd); |
|
|
|
mKeyboardPalette->setParent(UBApplication::mainWindow); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|