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