Unverified Commit d7bbdd0f authored by liushuyu's avatar liushuyu
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent f04743c4
Pipeline #5642 passed with stages
in 1 minute and 30 seconds
......@@ -2294,8 +2294,7 @@ mousepad_window_notebook_switch_page (GtkNotebook *notebook,
if (G_LIKELY (window->active != document))
{
/* set old and new active documents */
window->previous = gtk_notebook_page_num (notebook, GTK_WIDGET (window->active)) != -1 ?
window->active : NULL;
window->previous = window->active;
window->active = document;
/* set the window title */
......
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