mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Set titles for source file tabs in the shader viewer
This commit is contained in:
@@ -94,6 +94,7 @@ ShaderViewer::ShaderViewer(CaptureContext *ctx, ShaderReflection *shader, Shader
|
||||
|
||||
ScintillaEdit *scintilla = MakeEditor("scintilla" + name, text, true);
|
||||
scintilla->setReadOnly(true);
|
||||
scintilla->setWindowTitle(name);
|
||||
((QWidget *)scintilla)->setProperty("name", name);
|
||||
|
||||
QObject::connect(scintilla, &ScintillaEdit::keyPressed, this,
|
||||
|
||||
Reference in New Issue
Block a user