]> cloud.milkyroute.net Git - dolphin.git/commit
Make the "Create New..." menu in the "item context menu" work again
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 20 Nov 2013 23:41:23 +0000 (00:41 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 20 Nov 2013 23:41:33 +0000 (00:41 +0100)
commit32264f5546b7b1358572f06346b111f60e514d0a
tree9bb7e96a68c32f8bdfb8046d7b3b79408aebf97f
parentd7ed6c88052eb0bb119f595182b2b833f3dea0c9
Make the "Create New..." menu in the "item context menu" work again

Since https://git.reviewboard.kde.org/r/111989/, the "Create New..."
menu in the context menu that appears when right-clicking a folder was
not a child of the DolphinMainWindow any more, but of the context menu
itself. This is the reason why the dialog that asks for a file name
when choosing one of the "Create New..." options disappeared
immediately.

This patch makes sure that the main window is the parent of the
"Create New..." menu again.

BUG: 327783
REVIEW: 113930
src/dolphincontextmenu.cpp