mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
0a632e12d2
commit
274b3c786b
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue