Fix bug in dialog Seam allowance tool.
Don't show the dialog if a main path doesn't contain at least one item. --HG-- branch : develop
This commit is contained in:
parent
037d1daaaa
commit
e6c59de3ca
|
@ -441,7 +441,7 @@ void DialogSeamAllowance::ChosenObject(quint32 id, const SceneObject &type)
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogSeamAllowance::ShowDialog(bool click)
|
||||
{
|
||||
if (click == false)
|
||||
if (click == false && uiTabPaths->listWidgetMainPath->count() > 0)
|
||||
{
|
||||
emit ToolTip("");
|
||||
prepare = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user