author | francesco-ST <francesco.abbate@st.com> | 2010年08月03日 17:30:18 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年08月03日 17:30:18 +0200 |
commit | cd6a097601f474f11066cd3210a19eff43a8cd5c (patch) | |
tree | 6fcbdf3367357c730e633db98496fb0ecfcd9b08 /agg-plot | |
parent | 8ed2c9566077d71e77846c3acc8ab7edb9a6bcc6 (diff) | |
download | gsl-shell-cd6a097601f474f11066cd3210a19eff43a8cd5c.tar.gz |
-rw-r--r-- | agg-plot/plot-window.cpp | 6 |
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(); }; |