| Summary: | Changing attributename or methodname results in truncating list in edit window (parameters not shown) | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | gmud <geroxp> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gmud
2006-12-18 15:29:37 UTC
Hello, i was able to reproduce this bug with 1.5.6 svn version.
According to me, it seems that problem comes in dialogs/classifierlistpage.cpp, in slotDoubleClick, the list item display string is updated only with the classifier name (getName()) , maybe it should be the entire classifier string representation ( toString(Uml::st_SigNoVis) ).
Sorry i'm quite a noob in diff/patch, but the following seems to help :
Index: umbrello/dialogs/classifierlistpage.cpp
===================================================================
--- umbrello/dialogs/classifierlistpage.cpp (révision 615256)
+++ umbrello/dialogs/classifierlistpage.cpp (copie de travail)
@@ -500,7 +500,7 @@
}
if( listItem->showPropertiesDialog(this) ) {
- m_pItemListLB->changeItem( listItem->getName(), m_pItemListLB->index(item) );
+ m_pItemListLB->changeItem( listItem->toString(Uml::st_SigNoVis), m_pItemListLB->index(item) );
}
}
I'm not an Umbrello developer, i was just looking at the source code, so maybe this is not a correct fix and has bad side effects, so please test and post feedback.
|