Skip to content

Commit 2ab9140

Browse files
committed
Add tooltips for both datadir and blocksdir
1 parent 3045704 commit 2ab9140

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/qt/forms/debugwindow.ui

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@
127127
<property name="cursor">
128128
<cursorShape>IBeamCursor</cursorShape>
129129
</property>
130+
<property name="toolTip">
131+
<string>To specify a non-default location of the data directory use the '%1' option.</string>
132+
</property>
130133
<property name="text">
131134
<string>N/A</string>
132135
</property>
@@ -153,6 +156,9 @@
153156
<property name="cursor">
154157
<cursorShape>IBeamCursor</cursorShape>
155158
</property>
159+
<property name="toolTip">
160+
<string>To specify a non-default location of the blocks directory use the '%1' option.</string>
161+
</property>
156162
<property name="text">
157163
<string>N/A</string>
158164
</property>

src/qt/rpcconsole.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,9 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
459459
move(QApplication::desktop()->availableGeometry().center() - frameGeometry().center());
460460
}
461461

462+
QChar nonbreaking_hyphen(8209);
463+
ui->dataDir->setToolTip(ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir"));
464+
ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg(QString(nonbreaking_hyphen) + "blocksdir"));
462465
ui->openDebugLogfileButton->setToolTip(ui->openDebugLogfileButton->toolTip().arg(tr(PACKAGE_NAME)));
463466

464467
if (platformStyle->getImagesOnButtons()) {

0 commit comments

Comments
 (0)