summaryrefslogtreecommitdiff
path: root/svx/doc
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-05-26 00:45:32 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-05-29 22:27:49 +0300
commitfd21291c60cb9e6bde10c9d230abfc4258b65dae (patch)
tree2155388aa1092636d96b14b2f271d02e47d15057 /svx/doc
parent5a03ef2ae2740d04cd58e2339834f568173ac771 (diff)
chart2: Fix using the last shape
Clicking a shape button works only for the default shape, not for the last used one. Steps to reproduce: 1) Click on the drop-down arrow of one of the shape buttons, and select a shape. Notice that the button icon updates with the last selected shape. 2) Click on another button. 3) Click on the first button, and try to draw something. The button doesn't work anymore. Only opening the sub toolbar and selecting the shape there will work. The problem is in ToolboxController::execute that requires the command to be in the listener map, but we didn't register sub commands (like .uno:SymbolShapes.sun). Instead of doing that, we'll try some generic solution. (Note that calling the corresponding method from SvxTbxCtlCustomShapes like we do in other methods here won't work, because ChartController::queryDispatch checks for the "_self" target, but SfxToolBoxControl::Dispatch doesn't provide it.) Change-Id: I5be3dfd3ee3ca9ab9d8080929173dbe5984f61a0 (cherry picked from commit 209eea5457fc40d9f013fb1c041f184b8dd4676a)
Diffstat (limited to 'svx/doc')
0 files changed, 0 insertions, 0 deletions