When deleting spot, selects the remaining one just before, fixes #5269

This commit is contained in:
Pandagrapher
2019-04-23 17:19:28 +02:00
parent 4cc2a34323
commit 13cad6cf73
3 changed files with 21 additions and 8 deletions

View File

@@ -152,8 +152,9 @@ public:
* Setter of selected spot
*
* @param id The id of spot to be selected
* @return True if a spot corresponding to the id has been selected
*/
void setSelectedSpot(const int id);
bool setSelectedSpot(const int id);
// Control spot creation functions
/**