[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Input-sequence editor testing
From: |
Greg Chicares |
Subject: |
Re: [lmi] Input-sequence editor testing |
Date: |
Sun, 01 Aug 2010 22:16:00 +0000 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
On 2010-08-01 17:32Z, Vaclav Slavik wrote:
> Hi,
>
> On Sun, 2010-07-04 at 22:01 +0000, Greg Chicares wrote:
>> * Use default keyword in new keyword-only controls
>>
>> alt-F N I
>> "Individual mode"
>> "..."
>> choose "until retirement"
>> Second row, first column: no mode selected. The best choice would be
>> the 'default_keyword' argument of realize_sequence_string().
>
> Here's the patch:
Committed 20100801T2209Z as revision 5090, with one moderately
substantive change:
- if(keywords_only_ && !default_keyword_.empty())
+ if(keywords_only_)
{
+ LMI_ASSERT(!default_keyword_.empty());
combo->SetValue(default_keyword_.c_str());
}
IOW, a keywords-only field must have a nonempty default keyword;
if it doesn't, an error message is desirable.
Here's a new anomaly I just noticed, with or without that change:
alt-F N I
delete contents of "Individual payment" textcontrol
press "..." [corresponding to "Individual payment"]
now there's no combobox, so no keyword can be entered
click OK anyway
press "..." again
now it's all right--the combobox appears