プロジェクト

全般

プロフィール

バグ #466 » mp_patch.diff

Osamu Koga, 2012-05-27 16:19

差分を表示:

core/mui/cairo_miracle_painter.rb (作業コピー)
65 65

  
66 66
  def self.mp_modifier
67 67
    @mp_modifier ||= lambda { |miracle_painter|
68
      miracle_painter.tree.model.each{ |model, path, iter|
69
        if iter[0].to_i == miracle_painter.message[:id]
70
          miracle_painter.tree.queue_draw
71
          break end }
68
      if (not miracle_painter.destroyed?) and (not miracle_painter.tree.destroyed?)
69
        miracle_painter.tree.model.each{ |model, path, iter|
70
          if iter[0].to_i == miracle_painter.message[:id]
71
            miracle_painter.tree.queue_draw
72
            break end } end
72 73
      false } end
73 74

  
74 75
  def initialize(message, *coodinate)
    (1-1/1)