remove unnecessary code and comment

This commit is contained in:
donovaly
2020-02-16 22:13:17 +01:00
committed by wmayer
parent 0a7d82b0bb
commit 316a8840b4
4 changed files with 0 additions and 26 deletions

View File

@@ -159,12 +159,6 @@ void TaskChamferParameters::clearButtons(const selectionModes notThis)
void TaskChamferParameters::onRefDeleted(void)
{
// get vector of selected objects of active document to assure we have a valid selection
std::vector<Gui::SelectionObject> selection = Gui::Selection().getSelectionEx();
if (selection.size() == 0) {
QMessageBox::warning(this, tr("Selection error"), tr("Nothing selected!"));
return;
}
// assure we we are not in selection mode
exitSelectionMode();
clearButtons(none);