diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 52c15cc..8a8a81e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -41,7 +41,7 @@ import { ChatAvailable, GetChatHistory, SendChatMessage, GetOnlineOperators, QSOAudioBegin, QSOAudioCancel, QSOAudioRestart, QSOAudioResetClock, GetAwardDefs, - GetUIPref, GetActiveProfile, + GetUIPref, GetActiveProfile, QuitApp, ReportLiveActivity, GetLiveStatusEnabled, LiveLastQSOAgeSec, } from '../wailsjs/go/main/App'; import { Combobox } from '@/components/ui/combobox'; @@ -2762,7 +2762,7 @@ export default function App() { { type: 'separator' }, { type: 'item', label: t('file.deleteAll'), action: 'file.deleteall', disabled: total === 0 }, { type: 'separator' }, - { type: 'item', label: t('file.exit'), action: 'file.exit', shortcut: 'Ctrl+Q', disabled: true }, + { type: 'item', label: t('file.exit'), action: 'file.exit', shortcut: 'Ctrl+Q' }, ]}, { name: 'edit', label: t('menu.edit'), items: [ { type: 'item', label: t('edit.editSel'), action: 'edit.edit', shortcut: 'Enter', disabled: selectedId === null }, @@ -2807,6 +2807,7 @@ export default function App() { case 'file.export': exportAdif(); break; case 'file.exportCabrillo': exportCabrillo(); break; case 'file.deleteall': setShowDeleteAll(true); break; + case 'file.exit': QuitApp(); break; case 'view.refresh': refresh(); break; case 'view.clearfilters': setFilterCallsign(''); setActiveFilter({ conditions: [], match: 'AND' }); break; case 'edit.edit': if (selectedId !== null) openEdit(selectedId); break;