TD: PR6497 move return statement to new line
This commit is contained in:
@@ -318,7 +318,8 @@ void TaskCosVertex::enableTaskButtons(bool b)
|
||||
bool TaskCosVertex::accept()
|
||||
{
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
|
||||
if (!doc) return false;
|
||||
if (!doc)
|
||||
return false;
|
||||
|
||||
removeTracker();
|
||||
double x = ui->dsbX->value().getValue();
|
||||
@@ -338,7 +339,8 @@ bool TaskCosVertex::accept()
|
||||
bool TaskCosVertex::reject()
|
||||
{
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
|
||||
if (!doc) return false;
|
||||
if (!doc)
|
||||
return false;
|
||||
|
||||
removeTracker();
|
||||
m_trackerMode = QGTracker::TrackerMode::None;
|
||||
|
||||
Reference in New Issue
Block a user