]> cloud.milkyroute.net Git - dolphin.git/commit
Fix disabling of DolphinNewFileMenu
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 11:19:17 +0000 (13:19 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 13:43:34 +0000 (15:43 +0200)
commit5e8b892a519b8d1fef58a747fafb5846b7fa3492
treeb2060d92795e0fa760c06bfead8f5e09434154d6
parentdec7016c0d52129340a5b47f6de4df8af5115e21
Fix disabling of DolphinNewFileMenu

Summary:
Commit e133c4557ecc37ed3f7e1b9 doesn't work because the actions in the
KNewFileMenu are added only when we show the context menu for the first
time.

Fixes the failing test cases in D16005.

Test Plan: Run `dolphinmainwindowtest` and open the context menu in different places (Home, Root, Trash, `bluetooth:/`, etc.)

Reviewers: #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16006
src/dolphinmainwindow.cpp