Fix bug when apply new font (current font name and new name are empty)

This commit is contained in:
Julia Radzhabova 2018-11-12 15:20:16 +03:00
parent 7e2c0fac51
commit d3690e9264
3 changed files with 3 additions and 0 deletions

View file

@ -1138,6 +1138,7 @@ define([
onFontNameSelect: function(combo, record) {
if (this.api) {
if (record.isNewFont) {
!this.getApplication().getController('Main').isModalShowed &&
Common.UI.warning({
width: 500,
closable: false,

View file

@ -1083,6 +1083,7 @@ define([
onFontNameSelect: function(combo, record) {
if (this.api) {
if (record.isNewFont) {
!this.getApplication().getController('Main').isModalShowed &&
Common.UI.warning({
width: 500,
closable: false,

View file

@ -1296,6 +1296,7 @@ define([
onFontNameSelect: function(combo, record) {
if (this.api) {
if (record.isNewFont) {
!this.getApplication().getController('Main').isModalShowed &&
Common.UI.warning({
width: 500,
closable: false,