| 94 | } |
| 95 | |
| 96 | void SessionListView::createSession() |
| 97 | { |
| 98 | SessionNameInputDialog dlg; |
| 99 | dlg.setTitle(tr("New Session Name")); |
| 100 | dlg.setActionText(tr("Create", "button"), |
| 101 | tr("Create and Open", "button")); |
| 102 | |
| 103 | runInputDialog(&dlg, [](const QString &newName) { |
| 104 | SessionManager::instance()->createSession(newName); |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | void SessionListView::removeSelectedSessions() |
| 109 | { |
nothing calls this directly
no test coverage detected