summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2014-03-18 23:09:28 +0100
committerportix <portix@gmx.net>2014-03-18 23:09:28 +0100
commitbe59940b5751e8cc1641b05b24aa49e6eb2e73b6 (patch)
tree53d9566430d026961b3de3e71426aa525e0fef71
parent4aa3845fd11fe261fb61e10b1d0771b9a3381558 (diff)
downloaddwb-be59940b5751e8cc1641b05b24aa49e6eb2e73b6.zip
Check if tabbed-browsing is enabled in view_add, closing #406
-rw-r--r--src/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c
index cd7c770e..ea7684c6 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -146,7 +146,7 @@ DwbStatus
commands_add_view(KeyMap *km, Arg *arg)
{
view_add(arg->p, false);
- if (arg->p == NULL)
+ if (arg->p == NULL && dwb.misc.tabbed_browsing)
dwb_open_startpage(dwb.state.fview);
return STATUS_OK;
}/*}}}*/