Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e1935a0e
Commit
e1935a0e
authored
Mar 31, 2010
by
con
Browse files
Remove wrong assertion.
parent
21e1db4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/designmode.cpp
View file @
e1935a0e
...
...
@@ -242,8 +242,6 @@ void DesignMode::currentEditorChanged(Core::IEditor *editor)
setEnabled
(
false
);
d
->
m_currentEditor
=
QWeakPointer
<
Core
::
IEditor
>
();
emit
actionsUpdated
(
d
->
m_currentEditor
.
data
());
QTC_ASSERT
(
core
->
modeManager
()
->
currentMode
()
!=
this
,
core
->
modeManager
()
->
activateMode
(
Constants
::
MODE_EDIT
));
}
else
{
d
->
m_currentEditor
=
QWeakPointer
<
Core
::
IEditor
>
(
editor
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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