Skip to content

Commit

Permalink
my bad, offcourse ==0 on startswith is nonsense.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrazyT committed Aug 13, 2016
1 parent 141b6a4 commit d07d35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.cpp
Expand Up @@ -17,7 +17,7 @@ bool findByString(QString txt,QAction* action){
}
}
}else{
if(action->text().replace("&","").startsWith(txt)==0){
if(action->text().replace("&","").startsWith(txt)){
emit action->trigger();
return true;
}
Expand Down

0 comments on commit d07d35f

Please sign in to comment.