mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 10:16:34 +01:00
BookmarkToolbar: Fix crash when adding a folder
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
5658ed2f14
commit
1985d23391
@ -8,6 +8,7 @@ Version 23.04.0
|
||||
* History: Don't delete all items under dates when filtering
|
||||
* AdBlock: Workaround for "Blocked content" page
|
||||
* AddressBar: Search with default search engine by default
|
||||
* Fix crash when adding new folder to the bookmark toolbar
|
||||
|
||||
Version 22.08.2
|
||||
* Fix: Typing text in the search bar sends data although suggestions are disabled (by Juraj Oravec) (BUG: 439268)
|
||||
|
@ -187,7 +187,7 @@ void BookmarksToolbar::createNewFolder()
|
||||
if (!name.isEmpty()) {
|
||||
BookmarkItem* parent;
|
||||
|
||||
if (m_clickedBookmark) {
|
||||
if (m_clickedBookmark && m_clickedBookmark->isFolder()) {
|
||||
parent = m_clickedBookmark;
|
||||
} else {
|
||||
parent = m_bookmarks->toolbarFolder();
|
||||
|
Loading…
Reference in New Issue
Block a user