| 1986 | } |
| 1987 | |
| 1988 | void MainWindow::varShow() { |
| 1989 | if (!guiReceive) { |
| 1990 | m_recvAction = nullptr; |
| 1991 | |
| 1992 | m_varTableModel->clear(); |
| 1993 | } else { |
| 1994 | if (m_recvAction) { |
| 1995 | return; |
| 1996 | } |
| 1997 | |
| 1998 | varReceive([this](bool isBlocked) { |
| 1999 | m_varTableModel->refresh(); |
| 2000 | if (isBlocked) { |
| 2001 | emu.unblock(); |
| 2002 | } |
| 2003 | }); |
| 2004 | } |
| 2005 | } |
| 2006 | |
| 2007 | void MainWindow::varSaveSelected() { |
| 2008 | QVector<calc_var_t> selectedVars; |