From 76b8afc4be673ae27cb84275edd6a173488e71d3 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Fri, 24 Jun 2016 12:04:27 -0500 Subject: Move cursor after appending date to backup name * Send the cursor to the end of the input text Change-Id: Id4f20717134cd38188cc1107f73dcd6bb995f377 --- gui/action.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui') diff --git a/gui/action.cpp b/gui/action.cpp index d98a81420..b471aafe7 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -792,6 +792,8 @@ int GUIAction::appenddatetobackupname(std::string arg __unused) if (Backup_Name.size() > MAX_BACKUP_NAME_LEN) Backup_Name.resize(MAX_BACKUP_NAME_LEN); DataManager::SetValue(TW_BACKUP_NAME, Backup_Name); + PageManager::NotifyKey(KEY_END, true); + PageManager::NotifyKey(KEY_END, false); operation_end(0); return 0; } -- cgit v1.2.3