Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
# Conflicts:
#	code/mindmap-model/pom.xml
#	code/mindmap-panel/pom.xml
#	code/mindolph-base/pom.xml
#	code/mindolph-core/pom.xml
#	code/mindolph-csv/pom.xml
#	code/mindolph-desktop/pom.xml
#	code/mindolph-fx/pom.xml
#	code/mindolph-fx/src/main/resources/dialog/about_dialog.fxml
#	code/mindolph-genai/pom.xml
#	code/mindolph-markdown/pom.xml
#	code/mindolph-mindmap/pom.xml
#	code/mindolph-plantuml/pom.xml
#	code/pom.xml
  • Loading branch information
mindolph committed Nov 26, 2024
2 parents 00837b5 + c1ecb11 commit ce4e173
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ private void onCellDataChanged(int rowIdx, TableColumn<Row, String> column, Stri
log.debug("stubRowIdx: %d - stubColIdx: %d".formatted(tableView.getStubRowIdx(), tableView.getStubColIdx()));
int colIdx = tableView.getColumns().indexOf(column);
int dataIdx = colIdx - 1;// -1 because of the index column.
if (tableView.getItems().isEmpty()) {
return; // avoid exception when undo editing from an empty row.
}
Row row = tableView.getItems().get(rowIdx);
row.updateValue(dataIdx, newText);
if (rowIdx == 0) {
Expand Down

0 comments on commit ce4e173

Please sign in to comment.