Only print error if completion actually failed
This commit is contained in:
parent
2622291196
commit
b4a18b2aef
1 changed files with 2 additions and 1 deletions
|
@ -373,7 +373,8 @@ midori_location_action_popup_timeout_cb (gpointer data)
|
|||
result = sqlite3_step (stmt);
|
||||
if (result != SQLITE_ROW && !action->search_engines)
|
||||
{
|
||||
g_print (_("Failed to select from history\n"));
|
||||
if (result == SQLITE_ERROR)
|
||||
g_print (_("Failed to select from history\n"));
|
||||
sqlite3_reset (stmt);
|
||||
sqlite3_clear_bindings (stmt);
|
||||
midori_location_action_popdown_completion (action);
|
||||
|
|
Loading…
Reference in a new issue