Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
ddd37c42
Commit
ddd37c42
authored
6 years ago
by
Dimitar Tasev
Browse files
Options
Downloads
Patches
Plain Diff
Revert removal of resize and show, re #24475
parent
e0f1e44e
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
qt/python/mantidqt/widgets/tableworkspacedisplay/view.py
+4
-1
4 additions, 1 deletion
qt/python/mantidqt/widgets/tableworkspacedisplay/view.py
with
4 additions
and
1 deletion
qt/python/mantidqt/widgets/tableworkspacedisplay/view.py
+
4
−
1
View file @
ddd37c42
...
...
@@ -13,7 +13,7 @@ import sys
from
functools
import
partial
from
qtpy
import
QtGui
from
qtpy.QtCore
import
QVariant
,
Qt
,
Signal
,
Slot
from
qtpy.QtCore
import
QVariant
,
Qt
,
Signal
from
qtpy.QtGui
import
QKeySequence
from
qtpy.QtWidgets
import
(
QAction
,
QHeaderView
,
QItemEditorFactory
,
QMenu
,
QMessageBox
,
QStyledItemDelegate
,
QTableWidget
)
...
...
@@ -67,6 +67,9 @@ class TableWorkspaceDisplayView(QTableWidget, ObservingView):
header
=
self
.
horizontalHeader
()
header
.
sectionDoubleClicked
.
connect
(
self
.
handle_double_click
)
self
.
resize
(
600
,
400
)
self
.
show
()
def
resizeEvent
(
self
,
event
):
QTableWidget
.
resizeEvent
(
self
,
event
)
header
=
self
.
horizontalHeader
()
...
...
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