1
0
Fork 0

Don't override user font when using dark theme (#2422 #2426)

This commit is contained in:
torusrxxx 2020-08-15 20:36:15 +08:00 committed by Duncan Ogilvie
parent 30cc864ed8
commit 982f8735e9
2 changed files with 2 additions and 12 deletions

View File

@ -233,13 +233,3 @@ ThreadCurrentBackgroundColor=#C24000
ThreadCurrentColor=#FFFFFF
WatchTriggeredBackgroundColor=#XXXXXX
WatchTriggeredColor=#EF5350
[Fonts]
AbstractTableView=Lucida Console,8,-1,5,50,0,0,0,0,0
Application=MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
Disassembly=Lucida Console,8,-1,5,50,0,0,0,0,0
HexDump=Lucida Console,8,-1,5,50,0,0,0,0,0
HexEdit=Lucida Console,8,-1,5,50,0,0,0,0,0
Log=Courier New,8,-1,5,50,0,0,0,0,0
Registers=Lucida Console,8,-1,5,50,0,0,0,0,0
Stack=Lucida Console,8,-1,5,50,0,0,0,0,0

View File

@ -2267,8 +2267,8 @@ void MainWindow::on_actionDefaultTheme_triggered()
Config()->Colors = Config()->defaultColors;
Config()->writeColors();
// Reset [Fonts] to default
Config()->Fonts = Config()->defaultFonts;
Config()->writeFonts();
//Config()->Fonts = Config()->defaultFonts;
//Config()->writeFonts();
// Remove custom colors
BridgeSettingSet("Colors", "CustomColorCount", nullptr);
}