[Qt-creator] Closing pinned files

Eike Ziller Eike.Ziller at qt.io
Mon Oct 31 08:50:38 CET 2022



> Am 24/10/2022 um 03:28 schrieb EXT Mitch Curtis via Qt-creator <qt-creator at qt-project.org>:
> [...]
>> Do you really want to forbid to actually close the split containing the file, or
>> do you just want to keep the file name in the Open Documents list?
> 
> The idea is to avoid accidentally closing the pinned file via shortcuts. So not necessarily about forbidding closing it, but ensuring that it doesn't leave the open documents list.
> 
>> If the latter is sufficient, then no user question is needed.
> 
> What should happen if the pinned file is the only one open in that case? Can a document be in the open documents list if it's not actually open in an editor?

Actually yes, that is possible. Check out the document drop down in the editor toolbar: You can switch to "<no document>" there, even though all documents stay in the Open Documents view.

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list