Re: [darktable-dev] Lua combobox bug?

2017-05-04 Thread William Ferguson
>From what I remember, when I was dynamically changing combobox values, you can add to the end of the table, or remove from the end of the table, or change the name of a value in the table. If you want to remove a string from anywhere but the end, you have to rewrite the whole table of values

Re: [darktable-dev] Lua combobox bug?

2017-05-04 Thread William Ferguson
Thank you Christian. I was going to write an example similar to yours but didn't have time at the moment. Bill On May 4, 2017 3:03 PM, "Christian Kanzian" wrote: > Am Donnerstag, 4. Mai 2017, 20:02:02 CEST schrieb Holger Klemm: > > Thanks for the function. I do not

Re: [darktable-dev] Lua combobox bug?

2017-05-04 Thread Christian Kanzian
Am Donnerstag, 4. Mai 2017, 20:02:02 CEST schrieb Holger Klemm: > Thanks for the function. I do not understand how I must use that :-( > choice_table? AFAIK a combobox stores its entries like a lua table with indices. Updating lua table entries can only be done be looping over the entries? That

Re: [darktable-dev] Lua combobox bug?

2017-05-04 Thread Holger Klemm
Thanks for the function. I do not understand how I must use that :-( choice_table? Am Mittwoch, 3. Mai 2017, 15:55:42 CEST schrieb William Ferguson: > local function update_combobox_choices(combobox, choice_table, selected) > local items = #combobox > local choices = #choice_table > for i,

Re: [darktable-dev] Deconvolution and Python framework

2017-05-04 Thread Coding Dave
I can only speak for myself but I find it very interesting. Am 04.05.2017 03:32 schrieb "Aurélien PIERRE" : > Hi, > > I got critics so I made it better ;-) My Richardson-Lucy implementation > now allows to set a mask. This mask is intended to specify the zone where >

Re: [darktable-dev] Problem with register_lib in lua API

2017-05-04 Thread Tobias Ellinghaus
Am Mittwoch, 3. Mai 2017, 18:16:49 CEST schrieb Jefferson Ferreira: > Hi, > > I found the real problem. The problem occurs when I add the following line > in darktablerc: > > lighttable/ui/single_module=TRUE > > If I remove this line, my lua code works perfectly, and the darktable does > not

Re: [darktable-dev] Problem with register_lib in lua API

2017-05-04 Thread Hans Vanpee
Shift-click works for me too. 2017-05-04 8:38 GMT+02:00 Tobias Ellinghaus : > Am Mittwoch, 3. Mai 2017, 18:16:49 CEST schrieb Jefferson Ferreira: > > Hi, > > > > I found the real problem. The problem occurs when I add the following > line > > in darktablerc: > > > >

Re: [darktable-dev] Problem with register_lib in lua API

2017-05-04 Thread Tobias Ellinghaus
Am Mittwoch, 3. Mai 2017, 18:16:49 CEST schrieb Jefferson Ferreira: > Hi, > > I found the real problem. The problem occurs when I add the following line > in darktablerc: > > lighttable/ui/single_module=TRUE > > If I remove this line, my lua code works perfectly, and the darktable does > not