Skip to content

Commit

Permalink
Исправлено редактирование bold/unbold (баг #76)
Browse files Browse the repository at this point in the history
  • Loading branch information
xintrea committed Jul 6, 2018
1 parent 52bb8cb commit 8ca52de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libraries/wyedit/formatters/TypefaceFormatter.cpp
Expand Up @@ -58,7 +58,7 @@ void TypefaceFormatter::smartFormat(int formatType)
if(textArea->fontWeight() != QFont::Bold)
textArea->setFontWeight(QFont::Bold); // Bold
else
textArea->setFontWeight(0); // Remove Bold
textArea->setFontWeight(QFont::Normal); // Remove Bold
}

if(formatType==Italic)
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Expand Up @@ -34,7 +34,7 @@ using namespace std;
// Версия программы
#define APPLICATION_RELEASE_VERSION 1
#define APPLICATION_RELEASE_SUBVERSION 43
#define APPLICATION_RELEASE_MICROVERSION 25
#define APPLICATION_RELEASE_MICROVERSION 26


// Поддерживаемая версия формата базы (хранилища)
Expand Down

0 comments on commit 8ca52de

Please sign in to comment.