remove scrollwheel support, add prototype buttons

This commit is contained in:
Axel Kohlmeyer
2023-08-10 19:57:54 -04:00
parent cb2627220e
commit 4fb5135887
5 changed files with 37 additions and 44 deletions

View File

@ -736,12 +736,8 @@ void LammpsGui::view_image()
settings.endGroup();
lammps.command(dumpcmd.toLocal8Bit());
imagewindow = new ImageViewer(dumpfile);
#if defined(_WIN32)
_unlink(dumpfile.toLocal8Bit());
#else
unlink(dumpfile.toLocal8Bit());
#endif
imagewindow = new ImageViewer(dumpfile, &lammps);
QFile::remove(dumpfile);
} else {
QMessageBox::warning(this, "ImageViewer Error",
"Cannot create snapshot image while LAMMPS is running");