mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 23:34:44 +02:00
Revert "Fix saved file from new empty doc keeping created time tip issue"
This reverts commit 93ecbb004c8a216d17a8b940572a388f010c94ee.
This commit is contained in:
parent
3311924e1c
commit
2aa47e3219
@ -1651,10 +1651,7 @@ bool Notepad_plus::fileSave(BufferID id)
|
|||||||
{
|
{
|
||||||
if (buf->isUntitled())
|
if (buf->isUntitled())
|
||||||
{
|
{
|
||||||
bool isOK = fileSaveAs(bufferID);
|
return fileSaveAs(bufferID);
|
||||||
if (isOK)
|
|
||||||
buf->clearTabCreatedTimeString();
|
|
||||||
return isOK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const NppGUI & nppgui = (NppParameters::getInstance()).getNppGUI();
|
const NppGUI & nppgui = (NppParameters::getInstance()).getNppGUI();
|
||||||
|
@ -292,12 +292,6 @@ public:
|
|||||||
_tabCreatedTimeString = getTimeString(now);
|
_tabCreatedTimeString = getTimeString(now);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void clearTabCreatedTimeString() {
|
|
||||||
if (_currentStatus != DOC_UNNAMED)
|
|
||||||
{
|
|
||||||
_tabCreatedTimeString = L"";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t docLength() const {
|
size_t docLength() const {
|
||||||
assert(_pManager != nullptr);
|
assert(_pManager != nullptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user