mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-25 05:48:54 -04:00
new tab action opens an empty tab (#374)
This commit is contained in:
parent
7a54f2a6ac
commit
113fa261eb
@ -28,7 +28,6 @@ TabBar::TabBar(QWidget *parent) :
|
||||
auto current = this->currentWidget();
|
||||
auto widget = this->createNewTab(true);
|
||||
QUITIFNULL(current);
|
||||
widget->setUrl(current->url());
|
||||
KiwixApp::instance()->getMainWindow()->getTopWidget()->getSearchBar().setFocus(Qt::MouseFocusReason);
|
||||
});
|
||||
connect(app->getAction(KiwixApp::CloseTabAction), &QAction::triggered,
|
||||
|
Loading…
x
Reference in New Issue
Block a user