diff --git a/ipteditor-modules/iptenotebook.rb b/ipteditor-modules/iptenotebook.rb index ab493ac..4c45a3f 100644 --- a/ipteditor-modules/iptenotebook.rb +++ b/ipteditor-modules/iptenotebook.rb @@ -83,7 +83,7 @@ def setCurPage(p) case p.class.to_s when 'String' i = @paginas.index(p) - when 'Fixnum' + when 'Integer' i = p else i = nil