Skip to content

Commit 66e030c

Browse files
committed
#3130 fix: small graphical glitch under macOS in Markdown highlighting settings
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 3f35a77 commit 66e030c

File tree

3 files changed

+12
-32
lines changed

3 files changed

+12
-32
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# QOwnNotes Changelog
22

3+
## 24.10.2
4+
- A small graphical glitch on macOS in the *Markdown highlighting settings* was fixed
5+
(for [#3130](https://github.com/pbek/QOwnNotes/issues/3130))
6+
37
## 24.10.1
48
- In the *Stored image files* and the *Stored attachments* dialogs it's now possible
59
to only show files of the current note (for [#2354](https://github.com/pbek/QOwnNotes/issues/2354))

src/dialogs/settingsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3848,7 +3848,7 @@ void SettingsDialog::on_resetMessageBoxesButton_clicked() {
38483848
}
38493849

38503850
void SettingsDialog::on_markdownHighlightingCheckBox_toggled(bool checked) {
3851-
ui->markdownHighlightingFrame->setEnabled(checked);
3851+
ui->fullyHighlightedBlockquotesCheckBox->setEnabled(checked);
38523852
}
38533853

38543854
void SettingsDialog::on_localTrashEnabledCheckBox_toggled(bool checked) {

src/dialogs/settingsdialog.ui

+7-31
Original file line numberDiff line numberDiff line change
@@ -5401,6 +5401,13 @@ li.checked::marker { content: &quot;\2612&quot;; }
54015401
<string>Markdown highlighting</string>
54025402
</property>
54035403
<layout class="QGridLayout" name="gridLayout_35">
5404+
<item row="1" column="1">
5405+
<widget class="QCheckBox" name="fullyHighlightedBlockquotesCheckBox">
5406+
<property name="text">
5407+
<string>Fully highlight blockquotes</string>
5408+
</property>
5409+
</widget>
5410+
</item>
54045411
<item row="0" column="1" colspan="2">
54055412
<widget class="QCheckBox" name="markdownHighlightingCheckBox">
54065413
<property name="toolTip">
@@ -5411,37 +5418,6 @@ li.checked::marker { content: &quot;\2612&quot;; }
54115418
</property>
54125419
</widget>
54135420
</item>
5414-
<item row="1" column="1" colspan="2">
5415-
<widget class="QFrame" name="markdownHighlightingFrame">
5416-
<property name="frameShape">
5417-
<enum>QFrame::Shape::NoFrame</enum>
5418-
</property>
5419-
<property name="frameShadow">
5420-
<enum>QFrame::Shadow::Raised</enum>
5421-
</property>
5422-
<layout class="QVBoxLayout" name="verticalLayout_22">
5423-
<property name="leftMargin">
5424-
<number>0</number>
5425-
</property>
5426-
<property name="topMargin">
5427-
<number>0</number>
5428-
</property>
5429-
<property name="rightMargin">
5430-
<number>0</number>
5431-
</property>
5432-
<property name="bottomMargin">
5433-
<number>0</number>
5434-
</property>
5435-
<item>
5436-
<widget class="QCheckBox" name="fullyHighlightedBlockquotesCheckBox">
5437-
<property name="text">
5438-
<string>Fully highlight blockquotes</string>
5439-
</property>
5440-
</widget>
5441-
</item>
5442-
</layout>
5443-
</widget>
5444-
</item>
54455421
</layout>
54465422
</widget>
54475423
</item>

0 commit comments

Comments
 (0)