Skip to content
GitLab
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
fc3a2324
Commit
fc3a2324
authored
Sep 06, 2010
by
dt
Browse files
Ups, fix ordering of adding mode and switching to it
parent
5b1cebc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/coreplugin.cpp
View file @
fc3a2324
...
...
@@ -84,8 +84,8 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
if
(
success
)
{
EditorManager
*
editorManager
=
m_mainWindow
->
editorManager
();
m_editMode
=
new
EditMode
(
editorManager
);
m_mainWindow
->
modeManager
()
->
activateMode
(
m_editMode
->
id
());
addObject
(
m_editMode
);
m_mainWindow
->
modeManager
()
->
activateMode
(
m_editMode
->
id
());
m_designMode
=
new
DesignMode
(
editorManager
);
addObject
(
m_designMode
);
...
...
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