From bf14d3180427a8197e7dfbcb29fed1002efbbb80 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 23 Nov 2014 07:41:25 -0800 Subject: Make the button labels for apply / cancel of edits more consistent Before you could 'Cancel' the edit and then would be asked if you wanted to 'Discard' your changes or 'Cancel'. So clicking 'Cancel' cancelled the action of having clicked 'Cancel'. That's so confusing, it's even hard to explain. Yes, it uses "typical" language for user interaction and kind of makes sense, but it's not easy to understand for the non-technical user. With the new labels the user is asked to whether they want to 'Apply' the changes or 'Discard' them. And when they choose 'Discard' the verification question is still 'Discard' or 'Cancel'. That seems much more consistent. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 3c7489f73..68775c8c1 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -51,11 +51,11 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.extraData->setModel(extraDataModel); closeMessage(); - QAction *action = new QAction(tr("Save"), this); + QAction *action = new QAction(tr("Apply changes"), this); connect(action, SIGNAL(triggered(bool)), this, SLOT(acceptChanges())); addMessageAction(action); - action = new QAction(tr("Cancel"), this); + action = new QAction(tr("Discard changes"), this); connect(action, SIGNAL(triggered(bool)), this, SLOT(rejectChanges())); QShortcut *closeKey = new QShortcut(QKeySequence(Qt::Key_Escape), this); -- cgit v1.2.3-70-g09d2