Browse Source

Fixed TableView ProcessKey return value when no Table is loaded

tznind 4 năm trước cách đây
mục cha
commit
e68df90d27
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Terminal.Gui/Views/TableView.cs

+ 1 - 1
Terminal.Gui/Views/TableView.cs

@@ -580,7 +580,7 @@ namespace Terminal.Gui {
 		{
 		{
 			if(Table == null){
 			if(Table == null){
 				PositionCursor ();
 				PositionCursor ();
-				return true;
+				return false;
 			}
 			}
 
 
 			if(keyEvent.Key == CellActivationKey && Table != null) {
 			if(keyEvent.Key == CellActivationKey && Table != null) {