Skip to content

Commit

Permalink
- update guard text value on flow disconnection
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/arjan/backup/gaphor/gaphor/trunk@2073 a8418922-720d-0410-834f-a69b97ada669
  • Loading branch information
wrobell committed Aug 30, 2007
1 parent 2b6c2ee commit 7f9fcec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gaphor/diagram/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def on_subject_notify(self, pspec, notifiers = ()):


def on_subject_notify__guard(self, subject, pspec=None):
if not subject.guard or not subject.guard.value:
self._guard.text = ''
self.request_update()


Expand Down

0 comments on commit 7f9fcec

Please sign in to comment.