mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Reload globe after dive location was modified
This way a change to the location name is immediately reflected in the map display. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c17e15d315
commit
9dab886117
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
#include "../statistics.h"
|
#include "../statistics.h"
|
||||||
#include "divelistview.h"
|
#include "divelistview.h"
|
||||||
#include "modeldelegates.h"
|
#include "modeldelegates.h"
|
||||||
|
#include "globe.h"
|
||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
@ -329,6 +330,8 @@ void MainTab::on_editAccept_clicked(bool edit)
|
||||||
notesBackup.visibility != ui->visibility->currentStars() ||
|
notesBackup.visibility != ui->visibility->currentStars() ||
|
||||||
notesBackup.rating != ui->rating->currentStars())
|
notesBackup.rating != ui->rating->currentStars())
|
||||||
mark_divelist_changed(TRUE);
|
mark_divelist_changed(TRUE);
|
||||||
|
if (notesBackup.location != ui->location->text())
|
||||||
|
mainWindow()->globe()->reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue