Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Umbrello
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SDK
Umbrello
Commits
1f2ff277
Commit
1f2ff277
authored
10 years ago
by
Ralf Habacker
Browse files
Options
Downloads
Patches
Plain Diff
Prevent adding of sequence messages without a custom or class method.
CCBUG:331188
parent
f4fa36b5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
umbrello/dialogs/selectopdlg.cpp
+4
-0
4 additions, 0 deletions
umbrello/dialogs/selectopdlg.cpp
with
4 additions
and
0 deletions
umbrello/dialogs/selectopdlg.cpp
+
4
−
0
View file @
1f2ff277
...
...
@@ -97,6 +97,7 @@ SelectOpDlg::SelectOpDlg(UMLView *parent, UMLClassifier * c, bool enableAutoIncr
connect
(
m_pOpLE
,
SIGNAL
(
textChanged
(
QString
)),
this
,
SLOT
(
slotTextChanged
(
QString
)));
mainLayout
->
addWidget
(
m_pOpLE
,
2
,
1
,
1
,
2
);
setupOperationsList
();
enableButtonOk
(
false
);
}
/**
...
...
@@ -161,6 +162,7 @@ void SelectOpDlg::slotNewOperation()
return
;
setupOperationsList
();
setClassOp
(
op
->
toString
(
Uml
::
SignatureType
::
SigNoVis
));
enableButtonOk
(
true
);
}
/**
...
...
@@ -171,6 +173,7 @@ void SelectOpDlg::slotIndexChanged(int index)
if
(
index
!=
-
1
)
{
m_pOpLE
->
setText
(
""
);
m_id
=
OP
;
enableButtonOk
(
true
);
}
}
...
...
@@ -182,6 +185,7 @@ void SelectOpDlg::slotTextChanged(const QString &text)
if
(
!
text
.
isEmpty
())
{
m_pOpCB
->
setCurrentIndex
(
-
1
);
m_id
=
CUSTOM
;
enableButtonOk
(
true
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment