Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
10fafa91
Commit
10fafa91
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] fix broken direct connection search menu to add it later in context menu
parent
446d4a88
No related branches found
No related tags found
1 merge request
!775
0.50.0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sakia/gui/navigation/identities/identities.ui
+4
-7
4 additions, 7 deletions
src/sakia/gui/navigation/identities/identities.ui
src/sakia/gui/navigation/identities/view.py
+3
-1
3 additions, 1 deletion
src/sakia/gui/navigation/identities/view.py
with
7 additions
and
8 deletions
src/sakia/gui/navigation/identities/identities.ui
+
4
−
7
View file @
10fafa91
...
...
@@ -27,16 +27,13 @@
</widget>
</item>
<item>
<widget
class=
"QToolButton"
name=
"button_search"
>
<widget
class=
"QPushButton"
name=
"button_search"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"text"
>
<string>
Search
</string>
</property>
<property
name=
"popupMode"
>
<enum>
QToolButton::MenuButtonPopup
</enum>
</property>
<property
name=
"toolButtonStyle"
>
<enum>
Qt::ToolButtonTextBesideIcon
</enum>
</property>
</widget>
</item>
</layout>
...
...
This diff is collapsed.
Click to expand it.
src/sakia/gui/navigation/identities/view.py
+
3
−
1
View file @
10fafa91
...
...
@@ -38,7 +38,9 @@ class IdentitiesView(QWidget, Ui_IdentitiesWidget):
self
.
tr
(
IdentitiesView
.
_search_placeholder
)
)
self
.
edit_textsearch
.
returnPressed
.
connect
(
self
.
request_search_by_text
)
self
.
button_search
.
addAction
(
self
.
direct_connections
)
# fixme: as it is this menu can not work because the current connection is missing.
# Move the Action menu to the ContextMenu on connection or identity or wot node
# self.button_search.addAction(self.direct_connections)
self
.
button_search
.
clicked
.
connect
(
self
.
request_search_by_text
)
def
set_table_identities_model
(
self
,
model
):
...
...
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