fixed problem when updating a plot - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月03日 17:30:18 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月03日 17:30:18 +0200
commitcd6a097601f474f11066cd3210a19eff43a8cd5c (patch)
tree6fcbdf3367357c730e633db98496fb0ecfcd9b08 /agg-plot
parent8ed2c9566077d71e77846c3acc8ab7edb9a6bcc6 (diff)
downloadgsl-shell-cd6a097601f474f11066cd3210a19eff43a8cd5c.tar.gz
fixed problem when updating a plot
Diffstat (limited to 'agg-plot')
-rw-r--r--agg-plot/plot-window.cpp 6
1 files changed, 4 insertions, 2 deletions
diff --git a/agg-plot/plot-window.cpp b/agg-plot/plot-window.cpp
index 8f55fbd2..fc6907b9 100644
--- a/agg-plot/plot-window.cpp
+++ b/agg-plot/plot-window.cpp
@@ -99,9 +99,11 @@ public:
void plot_update()
{
this->lock();
- this->on_draw_unprotected();
if (this->status == plot_window::running)
- this->update_window();
+ {
+ this->on_draw_unprotected();
+ this->update_window();
+ }
this->unlock();
};
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月22日 02:00:26 +0000

AltStyle によって変換されたページ (->オリジナル) /