Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
added setComment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Nov 29, 2022
1 parent cdab1a7 commit 4a8b868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ramses/ram_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def comment( self ):
"""
return self.get('comment', '')

def setComment( self, comment ):
"""Sets a new comment"""
self.set("comment", comment)

def color( self ):
"""Returns the color as (R,G,B)"""
colorName = self.colorName().lstrip("#")
Expand Down

0 comments on commit 4a8b868

Please sign in to comment.