Verified Commit c62d0793 authored by Jonah Brüchert's avatar Jonah Brüchert
Browse files

Only open find sheet if not already open

parent 77bf405d
......@@ -219,8 +219,10 @@ Kirigami.ApplicationWindow {
icon.name: "edit-find"
shortcut: "Ctrl+F"
onTriggered: {
sheetLoader.setSource("FindInPageSheet.qml")
sheetLoader.item.open()
if (!sheetLoader.item || !sheetLoader.item.sheetOpen) {
sheetLoader.setSource("FindInPageSheet.qml")
sheetLoader.item.open()
}
}
text: i18n("Find in page")
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment