Make ChangeValueDisplay menus go back after confirmation

This commit is contained in:
2021-12-23 19:27:42 +01:00
parent 9ce52a1901
commit dc5d96922d

View File

@ -1,6 +1,7 @@
#pragma once
// local includes
#include "display.h"
#include "actioninterface.h"
#include "accessorinterface.h"
@ -18,7 +19,10 @@ public:
void triggered() override
{
// TODO: implement error handling and show popup in case of error
m_accessorInterface.setValue(m_value);
m_backInterface.back();
}
T value() const { return m_value; }