aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2015-01-13 01:33:18 +0000
committerJason Woodward2015-01-13 01:33:18 +0000
commit21f9a7be68a33827f2db1e2d2485a4b70b0ddbb8 (patch)
treef3c78a2b983494c851f7894b73f3fe5101608061
parent05e95db6812b751c0c7e62b87bfc2daa4d2a3f37 (diff)
downloadgslapt-21f9a7be68a33827f2db1e2d2485a4b70b0ddbb8.tar.gz
do not reset transaction when download only is set
-rw-r--r--src/callbacks.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 14ebc18..ae8ae19 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -1619,12 +1619,10 @@ static void lhandle_transaction (GtkBuilder *b)
/* return early if download_only is set */
if ( dl_only == TRUE ) {
- slapt_free_transaction(trans);
- trans = slapt_init_transaction();
gdk_threads_enter();
unlock_toolbar_buttons();
- rebuild_treeviews(NULL,FALSE);
clear_execute_active();
+ unlock_toolbar_buttons();
gdk_threads_leave();
return;
}