From ecd5a722fed7f92622ebb2e6d0aa33a55adbecbd Mon Sep 17 00:00:00 2001 From: hickmanw <39277069+hickmanw@users.noreply.github.com> Date: Tue, 6 Oct 2020 18:02:03 -0500 Subject: [PATCH] copy default grid_options before assign --- qgrid/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgrid/grid.py b/qgrid/grid.py index 44887b25..71afe93f 100644 --- a/qgrid/grid.py +++ b/qgrid/grid.py @@ -482,7 +482,7 @@ def show_grid(data_frame, options.update(column_options) column_options = options if grid_options is None: - grid_options = defaults.grid_options + grid_options = defaults.grid_options.copy() else: options = defaults.grid_options.copy() options.update(grid_options)