Actions
Bug #5222
closedDialogs on icon item with invalid/empty file should print an error message
Start date:
02/04/2021
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
I was trying to execute this code without icon file location but the AdiIRC didn't print any error message, it just doing nothing so its hard to "understand" what wrong you did.
Example Code:
dialog -l hashes { title "Hash Table Manager - v1.0 (/hash_manager)" size -1 -1 297 240 option dbu button "Close this window", 1, 70 221 160 18 list 2, 2 10 90 150, size hsbar vsbar list 3, 103 10 90 150, size hsbar vsbar list 4, 204 10 90 150, size hsbar vsbar box "Tables", 5, 1 3 93 182 box "Items", 6, 102 3 93 199 box "Datas", 7, 203 3 93 200 icon 8, 3 162 21 19, noborder icon 9, 69 162 21 19, noborder icon 10, 37 162 21 19, noborder } alias hashes { dialog -md hashes hashes }
It should return:
* /dialog: 'hashes' error loading icon on 8 id (line 208, script1.ini)
- Thanks!
Actions