diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui
index 322a84ee9..dca16d6f7 100644
--- a/src/qt/forms/debugwindow.ui
+++ b/src/qt/forms/debugwindow.ui
@@ -127,6 +127,9 @@
IBeamCursor
+
+ To specify a non-default location of the data directory use the '%1' option.
+
N/A
@@ -153,6 +156,9 @@
IBeamCursor
+
+ To specify a non-default location of the blocks directory use the '%1' option.
+
N/A
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 5bf989314..7ec4feabf 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -459,6 +459,9 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
move(QApplication::desktop()->availableGeometry().center() - frameGeometry().center());
}
+ QChar nonbreaking_hyphen(8209);
+ ui->dataDir->setToolTip(ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir"));
+ ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg(QString(nonbreaking_hyphen) + "blocksdir"));
ui->openDebugLogfileButton->setToolTip(ui->openDebugLogfileButton->toolTip().arg(tr(PACKAGE_NAME)));
if (platformStyle->getImagesOnButtons()) {