From 661b29964683098d62c25d2f7cc1c687a3870734 Mon Sep 17 00:00:00 2001 From: Mike Turchenkov Date: Wed, 14 Oct 2020 04:07:52 +0300 Subject: [PATCH] Update iptenotebook.rb Fix for https://github.com/Intika-Linux-Firewall/Iptables-Editor-Gui/issues/3 Fixnum is deprecated, should use Integer instead. --- ipteditor-modules/iptenotebook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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