GUI: Load custom FontForMoney from QSettings

This commit is contained in:
Luke Dashjr
2021-12-02 02:25:30 +00:00
parent 49eb97eff9
commit 3a6757eed9
2 changed files with 31 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ private:
QString language;
BitcoinUnit m_display_bitcoin_unit;
QString strThirdPartyTxUrls;
FontChoice m_font_money;
FontChoice m_font_money{FontChoiceAbstract::EmbeddedFont};
bool fCoinControlFeatures;
bool m_sub_fee_from_amount;
bool m_enable_psbt_controls;
@@ -138,6 +138,8 @@ private:
/* settings that were overridden by command-line */
QString strOverriddenByCommandLine;
static FontChoice FontChoiceFromString(const QString&);
// Add option to list of GUI options overridden through command line/config file
void addOverriddenOption(const std::string &option);