Skip to content

Commit

Permalink
To make it harder to "lose" the emplace local results interface, dock…
Browse files Browse the repository at this point in the history
… it by

default
  • Loading branch information
e-pettersen committed Feb 8, 2025
1 parent 42859df commit 3a509e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/bundles/phenix_ui/src/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ def _finalize_init(self, orig_model, transforms, llgs, ccs, show_sharpened_map,
parent = tw.ui_area

from Qt.QtWidgets import QHBoxLayout, QButtonGroup, QVBoxLayout, QRadioButton, QCheckBox
from Qt.QtWidgets import QPushButton, QLabel, QToolButton, QGridLayout, QWidget
from Qt.QtWidgets import QPushButton, QLabel, QToolButton, QGridLayout, QWidget, QDockWidget

layout = QVBoxLayout()
layout.setContentsMargins(2,2,2,2)
layout.setSpacing(0)
Expand Down Expand Up @@ -263,7 +264,7 @@ def _finalize_init(self, orig_model, transforms, llgs, ccs, show_sharpened_map,
bbox.button(qbbox.Help).setEnabled(False)
layout.addWidget(bbox)

self.tool_window.manage(None)
self.tool_window.manage("side")

def accept_fit(self):
# running commands directly in delete() can be hazardous, so...
Expand Down

0 comments on commit 3a509e9

Please sign in to comment.