UI: Services: Warn to restart the computer after changes

This commit is contained in:
Nodir Temirkhodjaev 2022-02-09 09:29:13 +03:00
parent 3f114444ea
commit 76855da9a9

View File

@ -165,6 +165,8 @@ QLayout *ServicesWindow::setupHeader()
serviceInfoManager()->trackService(serviceInfo.serviceName); serviceInfoManager()->trackService(serviceInfo.serviceName);
updateServiceListModel(); updateServiceListModel();
windowManager()->showInfoBox(tr("Please restart the computer to reload changed services!"));
}); });
connect(m_actRevert, &QAction::triggered, this, [&] { connect(m_actRevert, &QAction::triggered, this, [&] {
const auto serviceIndex = serviceListCurrentIndex(); const auto serviceIndex = serviceListCurrentIndex();