remove unnecessary code and comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user