mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Switch to using new edit_marker_dialog for marker adding and editting
This commit is contained in:
parent
1a32748b8e
commit
d0d9adfd1a
8 changed files with 514 additions and 110 deletions
|
|
@ -313,7 +313,7 @@ void MarkerManager::set_marker(types::MarkerId id, const types::MarkerInfo& mark
|
|||
Q_EMIT MarkersUpdated();
|
||||
}
|
||||
|
||||
void MarkerManager::add_marker(const types::MarkerInfo& marker)
|
||||
types::MarkerId MarkerManager::add_marker(const types::MarkerInfo& marker)
|
||||
{
|
||||
types::MarkerId id;
|
||||
{
|
||||
|
|
@ -326,6 +326,7 @@ void MarkerManager::add_marker(const types::MarkerInfo& marker)
|
|||
}
|
||||
Q_EMIT MarkerAdded(id);
|
||||
Q_EMIT MarkersUpdated();
|
||||
return id;
|
||||
}
|
||||
|
||||
void MarkerManager::remove_marker(types::MarkerId id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue