mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Suspend GUI refresh while replaying a log file to avoid flicker and speed it up dramatically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19690 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "gnc-log-replay.h"
|
||||
#include "gnc-plugin-log-replay.h"
|
||||
#include "gnc-plugin-manager.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
static void gnc_plugin_log_replay_class_init (GncPluginLogreplayClass *klass);
|
||||
static void gnc_plugin_log_replay_init (GncPluginLogreplay *plugin);
|
||||
@@ -148,7 +149,9 @@ static void
|
||||
gnc_plugin_log_replay_cmd_new_log_replay (GtkAction *action,
|
||||
GncMainWindowActionData *data)
|
||||
{
|
||||
gnc_suspend_gui_refresh();
|
||||
gnc_file_log_replay ();
|
||||
gnc_resume_gui_refresh();
|
||||
}
|
||||
|
||||
/************************************************************
|
||||
|
||||
Reference in New Issue
Block a user