mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Database: ::commit propagates to Datafile
This commit is contained in:
parent
bf068ad00a
commit
fc3ca8d7d3
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ void Database::commit ()
|
||||||
{
|
{
|
||||||
if (_dirty)
|
if (_dirty)
|
||||||
{
|
{
|
||||||
|
for (auto& file : _files)
|
||||||
|
file.commit ();
|
||||||
|
|
||||||
_dirty = false;
|
_dirty = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue