diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 04:32:24 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 04:32:24 -0800 |
commit | 4619bfd9ca1d4ee6c32acd8776a4dd460dc3835f (patch) | |
tree | dff78cfee4ec880afa22c18afc299459c48de4f3 /qt-ui/maintab.cpp | |
parent | e8a4420c59300554ee29af29834b6dcde4f8139a (diff) | |
download | subsurface-4619bfd9ca1d4ee6c32acd8776a4dd460dc3835f.tar.gz |
Immediately update the dive flag label when editing location text
This seems like a much nicer user experience. Editing a location's name is
immediately reflected on the globe label, the moment it happens.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index a1acfb52d..16c0a1f14 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -745,8 +745,8 @@ void MainTab::on_location_textChanged(const QString& text) } } EDIT_SELECTED_DIVES( EDIT_TEXT(mydive->location, text) ); + mainWindow()->globe()->repopulateLabels(); } - markChangedWidget(ui.location); } |