From ff40439cd360a68ee01e3283f5a06ced7a22e0a9 Mon Sep 17 00:00:00 2001 From: Nils Kronert Date: Thu, 2 Nov 2023 18:00:57 +0100 Subject: [PATCH] Buttons were not disabled when no file was preloaded --- patchmanager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patchmanager.py b/patchmanager.py index 940389b..ebb3cd4 100644 --- a/patchmanager.py +++ b/patchmanager.py @@ -342,6 +342,7 @@ def create_widgets(self): if self.preloadFileName != None: self.tryFile(self.preloadFileName) + self.updateButtons() def getPatchOffset(self, data, index): # TODO: determine if section offset in header is what it is expected to be