diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-04 21:06:37 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-04 21:06:37 +0000 |
commit | 944ac5c9680c9490613360e3d95bb71b7194f743 (patch) | |
tree | 1389d87b1ea06a6c880d07845d70972818d427cf /navit/osd | |
parent | e7c506e2158f7f6fca42ebc02ffbb274372d1b9e (diff) | |
download | navit-944ac5c9680c9490613360e3d95bb71b7194f743.tar.gz |
Fix:core:Don't display osd buttons on src attribute change while in internal gui. See #1057.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5283 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/osd')
-rw-r--r-- | navit/osd/core/osd_core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/navit/osd/core/osd_core.c b/navit/osd/core/osd_core.c index 5852a141d..a7c6d2b7e 100644 --- a/navit/osd/core/osd_core.c +++ b/navit/osd/core/osd_core.c @@ -1502,7 +1502,10 @@ osd_button_set_attr(struct osd_priv_common *opc, struct attr* attr) opc->osd_item.w=this_->img->width; if (!opc->osd_item.h) opc->osd_item.h=this_->img->height; - + + if(navit_get_blocked(nav)&1) + return 1; + if (this_->use_overlay) { struct graphics_image *img; struct point p; |