summaryrefslogtreecommitdiff
path: root/navit/osd
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-12-04 21:06:37 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-12-04 21:06:37 +0000
commit944ac5c9680c9490613360e3d95bb71b7194f743 (patch)
tree1389d87b1ea06a6c880d07845d70972818d427cf /navit/osd
parente7c506e2158f7f6fca42ebc02ffbb274372d1b9e (diff)
downloadnavit-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.c5
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;