From c8d8ae781333fbb57762b8dfd3c72e9c8385164c Mon Sep 17 00:00:00 2001 From: Adam Engebretson Date: Sat, 25 Oct 2025 22:46:33 -0500 Subject: [PATCH] Allow quitting while modal dialogs are open Closes #628 --- cmd/vice/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/vice/main.go b/cmd/vice/main.go index 459d40218..71c14b62e 100644 --- a/cmd/vice/main.go +++ b/cmd/vice/main.go @@ -480,7 +480,7 @@ func main() { lg.Info("performance", "stats", stats) } - if plat.ShouldStop() && len(ui.activeModalDialogs) == 0 { + if plat.ShouldStop() { // Do this while we're still running the event loop. saveSim := mgr.ClientIsLocal() config.SaveIfChanged(render, plat, controlClient, saveSim, lg)