mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
fix problem with search text hang if no text entered
This commit is contained in:
@@ -82,7 +82,7 @@ else if ("Search".equals(who))
|
||||
{
|
||||
Frame f = context.get("/");
|
||||
String txt = f.popupQuestion("Search", "Enter text to search for:");
|
||||
if (txt != null)
|
||||
if (txt != null && txt.trim().length()>0)
|
||||
{
|
||||
args().put("searchText", txt);
|
||||
script("searchText", args());
|
||||
|
||||
Reference in New Issue
Block a user