diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-23 07:19:37 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-23 07:19:37 +0300 |
commit | e9642760d8b25f6249524288891475b5650d2b68 (patch) | |
tree | f18f30666ed04112d843e06f65ddc095c23c95da /src/ui/window.c | |
parent | fb627f1ae471ae2fe966cbd98f2e58f1c8d2e742 (diff) |
Cleanup
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index eed0a951..c63ad76a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1483,7 +1483,7 @@ void setSplitMode_MainWindow(iMainWindow *d, int splitFlags) { | |||
1483 | iRelease(tabs); | 1483 | iRelease(tabs); |
1484 | postCommandf_App("tabs.switch id:%s", cstr_String(id_Widget(constAs_Widget(curPage)))); | 1484 | postCommandf_App("tabs.switch id:%s", cstr_String(id_Widget(constAs_Widget(curPage)))); |
1485 | } | 1485 | } |
1486 | else if (splitMode && oldCount == 1) { | 1486 | else if (oldCount == 1 && splitMode) { |
1487 | /* Add a second root. */ | 1487 | /* Add a second root. */ |
1488 | iDocumentWidget *moved = document_Root(w->roots[0]); | 1488 | iDocumentWidget *moved = document_Root(w->roots[0]); |
1489 | iAssert(w->roots[1] == NULL); | 1489 | iAssert(w->roots[1] == NULL); |