summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2018-11-24 15:53:59 -0300
committerAndre Miranda <andreldm@xfce.org>2018-11-24 15:53:59 -0300
commitd409487a0088e0c1cfc6e5d70c5c09841b4a5e2d (patch)
treece5b53e68a245f954e131c569062b983ebdc0fbc /src
parenta2912eb4f3d39af956290bdbb8573fba1dfa1794 (diff)
downloadxfce4-appfinder-d409487a0088e0c1cfc6e5d70c5c09841b4a5e2d.tar.gz
Save command in history even if it matches Exec (Bug #9023)
Diffstat (limited to 'src')
-rw-r--r--src/appfinder-model.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/appfinder-model.c b/src/appfinder-model.c
index c77e38d..31c537d 100644
--- a/src/appfinder-model.c
+++ b/src/appfinder-model.c
@@ -2250,8 +2250,7 @@ xfce_appfinder_model_save_command (XfceAppfinderModel *model,
appfinder_return_val_if_fail (XFCE_IS_APPFINDER_MODEL (model), FALSE);
appfinder_return_val_if_fail (error == NULL || *error == NULL, FALSE);
- if (!IS_STRING (command)
- || g_hash_table_lookup (model->items_hash, command) != NULL)
+ if (!IS_STRING (command))
return TRUE;
/* add command to the model */