Changeset 1905

Show
Ignore:
Timestamp:
08/11/07 04:33:52 (1 year ago)
Author:
wrobe..@pld-linux.org
Message:

- solved problem when message was connected to lifeline's head and it was

not possible to create lifetime when message was disconnected

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/adapters/connectors.py

    r1903 r1905  
    13241324        lifetime = self.element.lifetime 
    13251325        lifetime._messages_count -= 1 
    1326         # if lifetime is not visible  and there are no messages connected 
    1327         # then allow to make lifetime visible 
     1326        # if there are no messages connected then allow to make lifetime visible 
    13281327        # todo: move code below to LifetimeItem class 
    1329         if not lifetime.is_visible() and lifetime._messages_count < 1: 
     1328        if lifetime._messages_count < 1: 
    13301329            lifetime.bottom.movable = True 
    13311330