1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 06:44:11 +01:00

misc. fixes

This commit is contained in:
kojima
2001-01-26 19:30:53 +00:00
parent ff5afa20f2
commit 2cf8c125a5
2 changed files with 6 additions and 2 deletions

View File

@@ -762,8 +762,12 @@ void WMEditTableViewRow(WMTableView *table, int row)
if (table->editingRow >= 0) {
stopRowEdit(table, table->editingRow);
}
table->editingRow = row;
if (row < 0)
return;
for (i = 0; i < WMGetArrayItemCount(table->columns); i++) {
column = WMGetFromArray(table->columns, i);