| 138 | } |
| 139 | |
| 140 | bool WizCodeEditorDialog::undo() |
| 141 | { |
| 142 | if (!g_instance) |
| 143 | return false; |
| 144 | if (QApplication::activeWindow() != g_instance) |
| 145 | return false; |
| 146 | |
| 147 | g_instance->m_codeBrowser->page()->triggerAction(QWebEnginePage::Undo); |
| 148 | // |
| 149 | return true; |
| 150 | } |
| 151 | |
| 152 | bool WizCodeEditorDialog::copy() |
| 153 | { |
no test coverage detected