mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
set focus when opening a toolbar panel
This commit is contained in:
parent
d6c0b8d0ac
commit
57b9b8d884
@ -24,6 +24,9 @@ void CSVWidget::SceneToolMode::showPanel (const QPoint& position)
|
||||
{
|
||||
mPanel->move (position);
|
||||
mPanel->show();
|
||||
|
||||
if (!mButtons.empty())
|
||||
mButtons.begin()->first->setFocus (Qt::OtherFocusReason);
|
||||
}
|
||||
|
||||
void CSVWidget::SceneToolMode::addButton (const std::string& icon, const std::string& id)
|
||||
|
Loading…
Reference in New Issue
Block a user