mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Stop Map inerfering with Chart drag & drop
The Google Map view uses a Web view which by default attempts to handle drop events. This interferes with the adding charts via drag and drop. This patch fixes that.
This commit is contained in:
@@ -46,6 +46,7 @@ GoogleMapControl::GoogleMapControl(MainWindow *mw) : GcWindow(mw), main(mw), ran
|
||||
view->setContentsMargins(0,0,0,0);
|
||||
view->page()->view()->setContentsMargins(0,0,0,0);
|
||||
view->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
view->setAcceptDrops(false);
|
||||
layout->addWidget(view);
|
||||
|
||||
webBridge = new WebBridge(mw, this);
|
||||
|
||||
Reference in New Issue
Block a user