diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2022-09-19 14:28:14 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2022-09-22 12:30:05 +0000 |
commit | a8397c129fd70a85a80518947e69897f2ec26ca8 (patch) | |
tree | b1ad1233c3353e91e106f31a2ba6ad60a84e7831 /src/plugins/cppeditor/cppquickfixsettingswidget.ui | |
parent | 8cfbaa1da9252819636ff70578485f7a99610d68 (diff) |
CppEditor: Fix missing editor defines on session load
The CppSourceProcessor initially expects the "<per-editor-defines>"
pseudo-file in the working copy and then puts the resulting document into
the snapshot. Therefore, if we reset the snapshot, we must put the data
back into the working copy.
Fixes: QTCREATORBUG-22584
Change-Id: I4e3fd0647cc35327a2e72547c81c4edc16a670b2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixsettingswidget.ui')
0 files changed, 0 insertions, 0 deletions