PartDesign: Fix pattern Add/remove buttons #23626
This commit is contained in:
committed by
Kacper Donat
parent
9815682b8d
commit
09128636ad
@@ -284,6 +284,11 @@ void TaskPatternParameters::onSelectionChanged(const Gui::SelectionChanges& msg)
|
||||
return;
|
||||
}
|
||||
|
||||
if (originalSelected(msg)) {
|
||||
exitSelectionMode();
|
||||
return;
|
||||
}
|
||||
|
||||
auto patternObj = getObject();
|
||||
if (!patternObj) return;
|
||||
|
||||
@@ -381,3 +386,4 @@ TaskDlgLinearPatternParameters::TaskDlgLinearPatternParameters(
|
||||
|
||||
#include "moc_TaskPatternParameters.cpp"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user