[TD]fix extra undo on TaskCenterLine cancel

This commit is contained in:
Wanderer Fan
2022-05-10 14:16:58 -04:00
committed by WandererFan
parent 30801bdba8
commit 22a00cffda

View File

@@ -477,8 +477,6 @@ bool TaskCenterLine::accept()
bool TaskCenterLine::reject()
{
Gui::Command::abortCommand();
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
if (!doc)
return false;