Fix history saving while system shutdown

This commit is contained in:
Abs62 2014-04-08 22:57:07 +04:00
parent aceddb118d
commit d21701785a

View file

@ -945,8 +945,6 @@ MainWindow::~MainWindow()
} }
commitData(); commitData();
history.save();
} }
void MainWindow::commitData( QSessionManager & ) void MainWindow::commitData( QSessionManager & )
@ -970,6 +968,8 @@ void MainWindow::commitData()
// Save any changes in last chosen groups etc // Save any changes in last chosen groups etc
Config::save( cfg ); Config::save( cfg );
history.save();
} }
} }