mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Command "Clear history" really clear saved history
This commit is contained in:
parent
f7d7920e68
commit
368b58bb29
|
@ -1813,6 +1813,7 @@ void MainWindow::menuHistoryTriggered( QAction * action )
|
||||||
void MainWindow::on_clearHistory_activated()
|
void MainWindow::on_clearHistory_activated()
|
||||||
{
|
{
|
||||||
history.clear();
|
history.clear();
|
||||||
|
history.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::setAutostart(bool autostart)
|
void MainWindow::setAutostart(bool autostart)
|
||||||
|
|
Loading…
Reference in a new issue