summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-07-17 12:16:27 +0200
committerJan Holesovsky <kendy@suse.cz>2013-07-17 13:27:46 +0200
commit6f10ddfafc68df3f3458a6ba10bfc649074680b3 (patch)
tree00b63ac74f4dedc3ce3eecc4df9359a24d5b7954
parenta6d3bf989b7f02fa665877e4a785400c869a5afd (diff)
sidebar: A FIXME comment; I don't want to spend any more time on this.
Change-Id: I91af1e9d053f3d27074ec0d20c8f2517f71849cc
-rw-r--r--svx/source/sidebar/insert/InsertPropertyPanel.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.cxx b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
index 0d4860f3814e..7ca781644769 100644
--- a/svx/source/sidebar/insert/InsertPropertyPanel.cxx
+++ b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
@@ -57,6 +57,14 @@ InsertPropertyPanel::InsertPropertyPanel (
mpCustomShapesToolBox->Show();
// Listen to all tool box selection events.
+ // FIXME: This is an incredibly ugly hack that we should kill at some
+ // stage. It is needed because the mpCustomShapesToolBox somehow does not
+ // get the right controller, and so the images there are not updated when
+ // the user selects eg. a callout. But using the help id's to get/update
+ // it (that is what functionSelected() does) is not the way to go in
+ // general ;-)
+ // In other words, we should find the underlying problem, and remove the
+ // WindowEventListener for good.
Window* pTopWindow = pParent;
while (pTopWindow->GetParent() != NULL)
pTopWindow = pTopWindow->GetParent();