Mercurial > octave-nkf
changeset 19487:728873ccd637
Show canvas if figure was created with visible off (bug #41895)
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Thu, 01 Jan 2015 19:36:53 +0100 |
parents | 05eb8eaf63d3 |
children | dec5b96ca298 |
files | libinterp/dldfcn/__init_fltk__.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc Wed Dec 31 15:52:06 2014 -0800 +++ b/libinterp/dldfcn/__init_fltk__.cc Thu Jan 01 19:36:53 2015 +0100 @@ -1867,11 +1867,13 @@ if (win != windows.end ()) { if (is_visible) - win->second->show (); + { + win->second->show (); + win->second->show_canvas (); + } else win->second->hide (); - win->second->redraw (); } }