aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdm-dialog.c')
-rwxr-xr-xsrc/pdm-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 3fc4b68ac..d5ef8cc42 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -361,7 +361,7 @@ pdm_cmd_delete_selection (PdmActionInfo *action)
/* Intelligent selection logic, no actual selection yet */
path = gtk_tree_row_reference_get_path
- ((GtkTreeRowReference *) g_list_last (rlist)->data);
+ ((GtkTreeRowReference *) g_list_first (rlist)->data);
gtk_tree_model_get_iter (model, &iter, path);
gtk_tree_path_free (path);