~aleteoryx/muditaos

458e2879b0455ca57df1041010fd243f359feeab — Bartosz Cichocki 4 years ago 493a836
[EGD-7096] Add reaction after changing BT device name

There was no reaction after saving the BT name. Now phone returns
to the previous window
1 files changed, 1 insertions(+), 0 deletions(-)

M module-apps/application-settings-new/windows/PhoneNameWindow.cpp
M module-apps/application-settings-new/windows/PhoneNameWindow.cpp => module-apps/application-settings-new/windows/PhoneNameWindow.cpp +1 -0
@@ 57,6 57,7 @@ namespace gui

        if (inputEvent.isShortRelease(gui::KeyCode::KEY_ENTER) && !inputField->isEmpty()) {
            bluetoothSettingsModel->setDeviceName(inputField->getText());
            application->returnToPreviousWindow();
            return true;
        }