From f5e5c6ef3bdef3a9e23b10f81414f6f5ba121af2 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Mon, 23 Jan 2023 14:26:59 +0300 Subject: [PATCH] UI: Conf: Add App class: Fix typos --- src/ui/form/prog/programeditdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/form/prog/programeditdialog.cpp b/src/ui/form/prog/programeditdialog.cpp index 3ffb0b9e..ab52cf4b 100644 --- a/src/ui/form/prog/programeditdialog.cpp +++ b/src/ui/form/prog/programeditdialog.cpp @@ -381,6 +381,8 @@ bool ProgramEditDialog::save() app.lanOnly = m_cbLanOnly->isChecked(); app.blocked = m_rbBlockApp->isChecked(); app.groupIndex = m_comboAppGroup->currentIndex(); + app.appPath = appPath; + app.appName = appName; if (!app.blocked) { if (m_cscBlockAppIn->checkBox()->isChecked()) { @@ -430,7 +432,7 @@ bool ProgramEditDialog::saveMulti(App &app) for (qint64 appId : m_appIdList) { const auto appRow = appListModel()->appRowById(appId); - app.appId = m_appRow.appId; + app.appId = appId; app.appPath = appRow.appPath; app.appName = appRow.appName;