From b97b8d317e4888baabc165b41ae2636fd7bb935a Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 24 Dec 2004 05:32:53 +0000
Subject: [PATCH] missing viewchanged=1

---
 Fltk/Colorbar_Window.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Fltk/Colorbar_Window.cpp b/Fltk/Colorbar_Window.cpp
index 56d7b9e19e..43ea8179f0 100644
--- a/Fltk/Colorbar_Window.cpp
+++ b/Fltk/Colorbar_Window.cpp
@@ -1,4 +1,4 @@
-// $Id: Colorbar_Window.cpp,v 1.40 2004-12-24 04:58:20 geuzaine Exp $
+// $Id: Colorbar_Window.cpp,v 1.41 2004-12-24 05:32:53 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -467,6 +467,7 @@ int Colorbar_Window::handle(int event)
     else if(Fl::test_shortcut('p')) {
       ColorTable_Paste(ct);
       draw();
+      *viewchanged = 1;
     }
     else if(Fl::test_shortcut('h')) {
       help_flag = !help_flag;
-- 
GitLab