From 788ce89751d8854e3f594ccc3c6744f153e53b36 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 5 Sep 2023 18:02:42 -0400 Subject: [PATCH] fix typo in query --- tools/lammps-gui/lammpsgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lammps-gui/lammpsgui.cpp b/tools/lammps-gui/lammpsgui.cpp index ffa95b6763..e3468decc4 100644 --- a/tools/lammps-gui/lammpsgui.cpp +++ b/tools/lammps-gui/lammpsgui.cpp @@ -1083,7 +1083,7 @@ void LammpsGui::render_image() // LAMMPS is not re-entrant, so we can only query LAMMPS when it is not running if (!lammps.is_running()) { start_lammps(); - if (!lammps.extract_setting("box_exists")) { + if (!lammps.extract_setting("box_exist")) { QMessageBox::warning(this, "ImageViewer Error", "Cannot create snapshot image without a system box"); return;