From 72b05e7f37db06467ce15b86d0f78d683c8a36fe Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 24 Aug 2020 00:23:38 +1000 Subject: [PATCH] see prior commit --- buypeeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buypeeb.py b/buypeeb.py index 5025ada..4939cf6 100755 --- a/buypeeb.py +++ b/buypeeb.py @@ -144,7 +144,7 @@ class BuypeebApp: entrybox.set_markup(text) entry = Gtk.Entry() - entry.set_text(prefilled) + entry.set_text(prefilled if prefilled is not None else "") entry.connect("activate", self.entryBoxResponse, entrybox, Gtk.ResponseType.OK) # allow for pressing enter instead of clicking OK entrybox.vbox.pack_end(entry, True, True, 0)