enigma-dev / RadialGM

A native IDE for ENIGMA written in C++ using the Qt Framework.
GNU General Public License v3.0
46 stars 22 forks source link

Font Preview Initialize #190

Closed RobertBColton closed 3 years ago

RobertBColton commented 4 years ago

We can't set the preview font on the preview text area before we've mapped the property widgets to the model. We have to grab the values out of the model to build a QFont, which is easier to grab from the mapped and loaded widgets. We also need to set the initial font on the range preview too. The previews now have the correct font the first time the editor is opened.