lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7dc508e 35/46: Don't select the first row ini


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7dc508e 35/46: Don't select the first row initially in the grid census view
Date: Wed, 22 Jul 2020 11:05:15 -0400 (EDT)

branch: master
commit 7dc508e67b2733a73820ad0bfa1a244d4acb3cfb
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Don't select the first row initially in the grid census view
    
    This seems unnecessary and row selection is lost when the grid cursor is
    moved without Shift being pressed, so it makes the initial state
    different from the subsequent ones for no good reason.
---
 census_view.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/census_view.cpp b/census_view.cpp
index 05bb2f9..e88802c 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -1979,7 +1979,6 @@ wxWindow* CensusGridView::CreateChildWindow()
     grid_window_->UseNativeColHeader();
     grid_window_->DisableHidingColumns();
     grid_window_->DisableDragRowSize();
-    grid_window_->SelectRow(0);
 
     // We could implement some kind of automatic registration, but it doesn't
     // seem to be worth it for now, as we only have a few custom converters,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]