Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Makefile.qt.include
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,11 @@ RES_ICONS = \
qt/res/icons/unit_dash.png \
qt/res/icons/unit_mdash.png \
qt/res/icons/unit_udash.png \
qt/res/icons/unit_duffs.png
qt/res/icons/unit_duffs.png \
qt/res/icons/unit_tdash.png \
qt/res/icons/unit_tmdash.png \
qt/res/icons/unit_tudash.png \
qt/res/icons/unit_tduffs.png

BITCOIN_QT_CPP = \
qt/bitcoinaddressvalidator.cpp \
Expand Down
7 changes: 6 additions & 1 deletion src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,12 @@ void UnitDisplayStatusBarControl::setOptionsModel(OptionsModel *optionsModel)
/** When Display Units are changed on OptionsModel it will refresh the display text of the control on the status bar */
void UnitDisplayStatusBarControl::updateDisplayUnit(int newUnits)
{
setPixmap(QIcon(":/icons/unit_" + BitcoinUnits::id(newUnits)).pixmap(31,STATUSBAR_ICONSIZE));
if(Params().NetworkID() == CBaseChainParams::MAIN){
setPixmap(QIcon(":/icons/unit_" + BitcoinUnits::id(newUnits)).pixmap(39,STATUSBAR_ICONSIZE));
}
else{
setPixmap(QIcon(":/icons/unit_t" + BitcoinUnits::id(newUnits)).pixmap(39,STATUSBAR_ICONSIZE));
}
}

/** Shows context menu with Display Unit options by the mouse coordinates */
Expand Down
4 changes: 4 additions & 0 deletions src/qt/dash.qrc
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
<file alias="unit_mdash">res/icons/unit_mdash.png</file>
<file alias="unit_udash">res/icons/unit_udash.png</file>
<file alias="unit_duffs">res/icons/unit_duffs.png</file>
<file alias="unit_tdash">res/icons/unit_tdash.png</file>
<file alias="unit_tmdash">res/icons/unit_tmdash.png</file>
<file alias="unit_tudash">res/icons/unit_tudash.png</file>
<file alias="unit_tduffs">res/icons/unit_tduffs.png</file>
<file alias="lock_closed">res/icons/lock_closed.png</file>
<file alias="lock_open">res/icons/lock_open.png</file>
<file alias="key">res/icons/key.png</file>
Expand Down
Binary file modified src/qt/res/icons/unit_dash.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/unit_duffs.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/unit_mdash.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/unit_tdash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/unit_tduffs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/unit_tmdash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/unit_tudash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/unit_udash.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.