Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App/AppKeyHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ internal bool HandleActionMenu()
}

var handler = new ColumnActionHandler(
_app, mt.Table, mt.Value.Cursor.X,
_app, mt.Table, mt.Value.SelectedCell.X,
mt.GetRawColumnName, mt.OnMorphAction, format.Value, mt.IsRowIndexComplete);

using var dialog = new ActionMenuDialog(ColumnActionHandler.GetAvailableActions(), handler.ExecuteAction);
Expand Down
2 changes: 1 addition & 1 deletion src/App/DataMorph.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Terminal.Gui" Version="2.0.1" />
<PackageReference Include="Terminal.Gui" Version="2.1.0" />
<PackageReference Include="Sep" Version="0.14.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/App/ViewManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ void onReady()
{
// Only set if this view is still active and the user hasn't moved the cursor yet
if (_currentView == view && view.Table is not null && view.Table.Rows > 0
&& (view.Value is null || view.Value.Cursor.Y <= 0))
&& (view.Value is null || view.Value.SelectedCell.Y <= 0))
{
view.SetSelection(0, 0, false);
view.Update();
Expand Down
2 changes: 1 addition & 1 deletion src/App/Views/MorphTableView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void moveToRow(int row)
return;
}

SetSelection(col: Value.Cursor.X, row: row, extendExistingSelection: false);
SetSelection(col: Value.SelectedCell.X, row: row, extendExistingSelection: false);
Update();
SetNeedsDraw();
}
Expand Down
Loading