models/app.rb in Pratt-1.6.2 vs models/app.rb in Pratt-1.6.4
- old
+ new
@@ -4,12 +4,11 @@
def log which, overwrite = false
self.gui = which if (overwrite and gui?(which) ) || gui?('')
save!
end
- def gui? which = '', log_err = false
+ def gui? which = ''
match = (self.gui == which)
-# $stderr.write("#{which} already being displayed\n") if log_err
match
end
def unlock
self.gui = ''