[gnumeric] Really fixed #687188
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Really fixed #687188
- Date: Mon, 5 Nov 2012 17:29:06 +0000 (UTC)
commit fceb06015301ca7cef5373e529b282ac43e0a2f1
Author: Jean Brefort <jean brefort normalesup org>
Date: Mon Nov 5 18:28:16 2012 +0100
Really fixed #687188
src/dialogs/dialog-sheet-resize.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/dialog-sheet-resize.c b/src/dialogs/dialog-sheet-resize.c
index 910f60c..461616c 100644
--- a/src/dialogs/dialog-sheet-resize.c
+++ b/src/dialogs/dialog-sheet-resize.c
@@ -131,7 +131,9 @@ cb_ok_clicked (ResizeState *state)
rows == gnm_sheet_get_max_rows (this_sheet))
continue;
- changed_sheets = g_slist_prepend (changed_sheets, this_sheet);
+ changed_sheets = (this_sheet == cur_sheet)?
+ g_slist_append (changed_sheets, this_sheet):
+ g_slist_prepend (changed_sheets, this_sheet);
}
g_slist_free (sheets);
@@ -139,7 +141,6 @@ cb_ok_clicked (ResizeState *state)
cmd_resize_sheets (wbc, g_slist_reverse (changed_sheets),
cols, rows);
- wb_control_sheet_focus (wbc, cur_sheet);
gtk_widget_destroy (state->dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]