Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Marble
Commits
a84b5638
Commit
a84b5638
authored
Nov 11, 2012
by
Dennis Nienhüser
Browse files
Fix adding bookmarks (regression from
fa70f0cd
)
CCBUG: 309886
parent
be3cc14f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/marble_part.cpp
View file @
a84b5638
...
...
@@ -1717,7 +1717,10 @@ void MarblePart::openEditBookmarkDialog()
dialog
->
setCoordinates
(
widget
->
lookAt
().
coordinates
()
);
dialog
->
setRange
(
widget
->
lookAt
().
range
()
);
dialog
->
setMarbleWidget
(
widget
);
dialog
->
exec
();
dialog
->
setReverseGeocodeName
();
if
(
dialog
->
exec
()
==
QDialog
::
Accepted
)
{
widget
->
model
()
->
bookmarkManager
()
->
addBookmark
(
dialog
->
folder
(),
dialog
->
bookmark
()
);
}
delete
dialog
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment