[Uml-devel] [Bug 103170] program crashes when closeing a tab
David Cuadrado
krawek at gmail.com
Sun Jun 5 22:35:23 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=103170
------- Additional Comments From krawek gmail com 2005-06-06 05:53 -------
Hi,
when I click in the top left icon (close tab) umbrello crashes,
I fix this problem:
in uml.cpp
KToolBar *m_buttonContainer = new KToolBar(m_tabWidget);
KAction *m_closeDiagramButton = new KAction(m_buttonContainer);
m_closeDiagramButton->plug(m_bar);
...
connect(m_closeDiagramButton, SIGNAL(activated()), SLOT(slotDeleteDiagram()));
...
m_tabWidget->setCornerWidget( m_buttonContainer, TopRight );
More information about the umbrello-devel
mailing list