浏览代码

Fixed TableView ProcessKey return value when no Table is loaded

tznind 4 年之前
父节点
当前提交
e68df90d27
共有 1 个文件被更改,包括 1 次插入1 次删除
  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){
 				PositionCursor ();
-				return true;
+				return false;
 			}
 
 			if(keyEvent.Key == CellActivationKey && Table != null) {