> Am 24/10/2022 um 03:28 schrieb EXT Mitch Curtis via Qt-creator > <qt-creator@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.zil...@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 _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator