[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Direct drill-down census editor testing
From: |
Vaclav Slavik |
Subject: |
Re: [lmi] Direct drill-down census editor testing |
Date: |
Thu, 24 Nov 2011 21:49:09 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Hi,
On 2011-11-23 17:09, Boutin, Wendy wrote:
- move focus to another control
Ah, I didn't think to check this, I only looked for changes occurring
immediately after changing a value, sorry about that.
Unless I'm missing some subtlety once again, this patch fixes it:
diff --git a/census_view.cpp b/census_view.cpp
index 9e37ad8..f0a5493 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -745,6 +745,9 @@ bool
CensusViewDataViewModel::SetValueByRow(wxVariant const& variant, unsigned r
cell = new_val;
+ Input& model = view_.cell_parms()[row];
+ model.Reconcile();
+
view_.document().Modify(true);
return true;
Regards,
Vaclav