Commit 454ca44a authored by Christian Hergert's avatar Christian Hergert

Revert "buffer manager: fix create view condition"

This reverts commit 421699ec.
parent cd416eb8
......@@ -712,7 +712,7 @@ ide_buffer_manager__load_file_query_info_cb (GObject *object,
}
}
if (state->is_new && (state->flags & IDE_WORKBENCH_OPEN_FLAGS_BACKGROUND) == 0)
if (state->is_new || (state->flags & IDE_WORKBENCH_OPEN_FLAGS_BACKGROUND) == 0)
create_new_view = TRUE;
g_signal_emit (self, signals [LOAD_BUFFER], 0, state->buffer, create_new_view);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment