From fbdd2c11c02f2ed7931cc52ded617db672bc75b8 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 27 Mar 2017 07:17:20 +0300 Subject: [PATCH] ScratchABit: Rename main widget class to DisasmViewer. --- ScratchABit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScratchABit.py b/ScratchABit.py index 3262681..5ed9938 100755 --- a/ScratchABit.py +++ b/ScratchABit.py @@ -63,7 +63,7 @@ def disasm_one(p): p.cmd.size = 0 -class Editor(editor.EditorExt): +class DisasmViewer(editor.EditorExt): def __init__(self, *args): super().__init__(*args) @@ -827,7 +827,7 @@ class MainScreen: def __init__(self): self.screen_size = Screen.screen_size() - self.e = Editor(1, 2, self.screen_size[0] - 2, self.screen_size[1] - 4) + self.e = DisasmViewer(1, 2, self.screen_size[0] - 2, self.screen_size[1] - 4) menu_file = WMenuBox([ ("Save (Shift+s)", b"S"), ("Write disasm (Shift+w)", b"W"), -- 2.11.4.GIT