Skip to content

Commit 770bc7e

Browse files
committed
Add clear button to search box
1 parent 5d02bc6 commit 770bc7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Export/Main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ function main:Init()
222222
end
223223
}
224224

225-
self.controls.datSearch = new("EditControl", {"TOPLEFT",self.controls.datSource,"BOTTOMLEFT"}, {0, 2, 250, 18}, nil, "^8Search .dat files", nil, nil, function(buf)
225+
self.controls.datSearch = new("EditControl", {"TOPLEFT", self.controls.datSource, "BOTTOMLEFT"}, {0, 2, 250, 18}, nil, "^7Search", nil, nil, function(buf)
226226
self.controls.datList.searchBuf = buf
227227
self.controls.datList:BuildFilteredList()
228-
end)
228+
end, nil, nil, true)
229229

230230
self.controls.datList = new("DatListControl", {"TOPLEFT",self.controls.datSearch,"BOTTOMLEFT"}, {0, 2, 250, function() return self.screenH - 100 end})
231231

0 commit comments

Comments
 (0)