mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 00:16:45 +00:00
Don't clear annotations when only style changes
This commit is contained in:
@@ -122,7 +122,7 @@ BufferFormatSpecifier::BufferFormatSpecifier(QWidget *parent)
|
||||
QObject::connect(formatText, &ScintillaEdit::modified,
|
||||
[this](int type, int, int, int, const QByteArray &, int, int, int) {
|
||||
ui->savedList->clearSelection();
|
||||
if(!(type & SC_MOD_CHANGEANNOTATION))
|
||||
if(!(type & (SC_MOD_CHANGEANNOTATION | SC_MOD_CHANGESTYLE)))
|
||||
formatText->annotationClearAll();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user