mobile/git-storage: ensure correct commit messages get saved

In order to get the undo stack information into the commit message, we
need to actually call Command::init() to set up the callback.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-01-17 12:52:05 -08:00
parent 0a632e12d2
commit 274b3c786b

View file

@ -328,6 +328,9 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
// we start out with clean data
updateHaveLocalChanges(false);
// setup Command infrastructure
Command::init();
}
void QMLManager::applicationStateChanged(Qt::ApplicationState state)