Kaydet (Commit) 6f10ddfa authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sidebar: A FIXME comment; I don't want to spend any more time on this.

Change-Id: I91af1e9d053f3d27074ec0d20c8f2517f71849cc
üst a6d3bf98
...@@ -57,6 +57,14 @@ InsertPropertyPanel::InsertPropertyPanel ( ...@@ -57,6 +57,14 @@ InsertPropertyPanel::InsertPropertyPanel (
mpCustomShapesToolBox->Show(); mpCustomShapesToolBox->Show();
// Listen to all tool box selection events. // 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; Window* pTopWindow = pParent;
while (pTopWindow->GetParent() != NULL) while (pTopWindow->GetParent() != NULL)
pTopWindow = pTopWindow->GetParent(); pTopWindow = pTopWindow->GetParent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment