Skip to content

Commit

Permalink
Fix no created date on default empty new doc
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Sep 26, 2024
1 parent 09d3244 commit 92a7e72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PowerEditor/src/ScintillaComponent/Buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ BufferID FileManager::bufferFromDocument(Document doc, bool isMainEditZone)
newBuf->_id = id;
const NewDocDefaultSettings& ndds = (nppParamInst.getNppGUI()).getNewDocDefaultSettings();
newBuf->_lang = ndds._lang;
newBuf->setTabCreatedTimeStringWithCurrentTime();
_buffers.push_back(newBuf);
++_nbBufs;

Expand Down

0 comments on commit 92a7e72

Please sign in to comment.