summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-11-04 07:10:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-18 06:33:27 +0800
commitb609b06b1160e3ff46eee3be81d26356f10d5985 (patch)
treeafe9262e3147d3886c39265bb65133c0cf7f720b /mobile-widgets
parent71a70a1a51b79d79eb1d1f4f8e845459da67c572 (diff)
downloadsubsurface-b609b06b1160e3ff46eee3be81d26356f10d5985.tar.gz
Mobile: visual indication for copy and paste operations
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 7d88eedc5..307acae5d 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1337,6 +1337,8 @@ void QMLManager::copyDiveData(int id)
what.tags = true;
what.cylinders = true;
what.weights = true;
+
+ setNotificationText("Copy");
}
void QMLManager::pasteDiveData(int id)
@@ -1355,6 +1357,7 @@ void QMLManager::pasteDiveData(int id)
invalidate_dive_cache(d);
mark_divelist_changed(true);
changesNeedSaving();
+ setNotificationText("Paste");
}
void QMLManager::cancelDownloadDC()