Skip to content
Commit ac2fa30d authored by Akseli Lahtinen's avatar Akseli Lahtinen Committed by Méven Car
Browse files

knewfilemenu: add isNewDirNameJobRunning

As per discussion here: system/dolphin!747 (comment 903955)

In order to avoid spawning multiple popups for network folders when creating new 
directories with spamming the `Ctrl+Shift+N` shortcut in Dolphin,
we need to know if the nameJob that spawns those popups is still running.

This adds a simple bool method that returns if the nameJob is still being ran.
In Dolphin this can be used to check if there's already job for spawning this popup
running, and if there is, we can ignore the shortcut.
parent f32fdb54
Pipeline #665994 passed with stage
in 11 minutes and 48 seconds
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