diff options
author | Thomas Benisch <tbe@openoffice.org> | 2011-01-07 13:20:38 +0100 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2011-01-07 13:20:38 +0100 |
commit | 0729b2664f9c9cc9926ad8d7e0820b6abf38c268 (patch) | |
tree | 9daea4a0ef3a59db0162e867564cba8ae8df4a5b /chart2 | |
parent | d6cf918d5158cdc7d543741dcb08bd0580a957af (diff) |
chart51: #i106137# Formatting Toolbar - Focus doesn't switch when select an other element
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 56908ac4ef79..ab7a492c307c 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1655,7 +1655,16 @@ bool ChartController::requestQuickHelp( if ( bSuccess ) { + ::vos::OGuard aGuard( Application::GetSolarMutex() ); + if ( m_pDrawViewWrapper && m_pDrawViewWrapper->IsTextEdit() ) + { + this->EndTextEdit(); + } this->impl_selectObjectAndNotiy(); + if ( m_pChartWindow ) + { + m_pChartWindow->Invalidate(); + } return sal_True; } |