[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5228] When a cell is added, select it (VS)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5228] When a cell is added, select it (VS) |
Date: |
Wed, 03 Aug 2011 23:40:20 +0000 |
Revision: 5228
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5228
Author: chicares
Date: 2011-08-03 23:40:19 +0000 (Wed, 03 Aug 2011)
Log Message:
-----------
When a cell is added, select it (VS)
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/census_view.cpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2011-08-02 15:41:16 UTC (rev 5227)
+++ lmi/trunk/ChangeLog 2011-08-03 23:40:19 UTC (rev 5228)
@@ -28125,3 +28125,9 @@
Use spincontrols for durations (VS). See:
http://lists.nongnu.org/archive/html/lmi/2011-03/msg00002.html
+20110803T2340Z <address@hidden> [637]
+
+ census_view.cpp
+When a cell is added, select it (VS). See:
+ http://lists.nongnu.org/archive/html/lmi/2011-08/msg00003.html
+
Modified: lmi/trunk/census_view.cpp
===================================================================
--- lmi/trunk/census_view.cpp 2011-08-02 15:41:16 UTC (rev 5227)
+++ lmi/trunk/census_view.cpp 2011-08-03 23:40:19 UTC (rev 5228)
@@ -853,6 +853,11 @@
Update();
document().Modify(true);
+
+ wxDataViewItem const& z = list_model_->GetItem(list_model_->GetCount() -
1);
+ list_window_->UnselectAll();
+ list_window_->Select(z);
+ list_window_->EnsureVisible(z);
}
void CensusView::UponDeleteCells(wxCommandEvent&)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5228] When a cell is added, select it (VS),
Greg Chicares <=