From 2cf8c125a5112a9ce8de559fd9c62ec573845217 Mon Sep 17 00:00:00 2001 From: kojima Date: Fri, 26 Jan 2001 19:30:53 +0000 Subject: [PATCH] misc. fixes --- WINGs/Extras/wtableview.c | 6 +++++- WINGs/wprogressindicator.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/WINGs/Extras/wtableview.c b/WINGs/Extras/wtableview.c index cb946fdb..36846ad9 100644 --- a/WINGs/Extras/wtableview.c +++ b/WINGs/Extras/wtableview.c @@ -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); diff --git a/WINGs/wprogressindicator.c b/WINGs/wprogressindicator.c index 3abbc06b..00be0930 100644 --- a/WINGs/wprogressindicator.c +++ b/WINGs/wprogressindicator.c @@ -23,7 +23,7 @@ typedef struct W_ProgressIndicator { #define DEFAULT_PROGRESS_INDICATOR_HEIGHT 16 /* define if only the ticks within the progress region should be displayed */ -#define SHOW_PROGRESS_TICKS_ONLY +#undef SHOW_PROGRESS_TICKS_ONLY static void didResizeProgressIndicator(); -- 2.11.4.GIT