Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
8e40e3b8
Commit
8e40e3b8
authored
Jan 21, 2021
by
Rob Applin
Browse files
Refs #30419. Unset factory when destroying InstrumentWidgetMaskTab.
parent
81450d60
Changes
2
Hide whitespace changes
Inline
Side-by-side
qt/widgets/instrumentview/inc/MantidQtWidgets/InstrumentView/InstrumentWidgetMaskTab.h
View file @
8e40e3b8
...
...
@@ -73,6 +73,7 @@ public:
};
explicit
InstrumentWidgetMaskTab
(
InstrumentWidget
*
instrWidget
);
~
InstrumentWidgetMaskTab
();
void
initSurface
()
override
;
void
setMode
(
Mode
mode
);
void
selectTool
(
Activity
tool
);
...
...
qt/widgets/instrumentview/src/InstrumentWidgetMaskTab.cpp
View file @
8e40e3b8
...
...
@@ -370,6 +370,10 @@ InstrumentWidgetMaskTab::InstrumentWidgetMaskTab(InstrumentWidget *instrWidget)
SLOT
(
enableApplyButtons
()));
}
InstrumentWidgetMaskTab
::~
InstrumentWidgetMaskTab
()
{
m_browser
->
unsetFactoryForManager
(
m_doubleManager
);
}
/**
* Initialize the tab when new projection surface is created.
*/
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment