From 9e12957c363a68543456dfe95ab88a11a69ae610 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 5 Aug 2010 20:39:09 +0200 Subject: Fixed edit trigger in SeriesTreeView Until now doubleclicking an item with children in SeriesTreeWidget did 3 things: 1. Expand or collapse the item 2. Trigger editing 3. Start playing all child movies in the default player This is not really expected behavior. So I disabled all EditTriggers on SeriesTreeView and set expandsOnDoubleClick to false. To still retain the ability to edit series a new slot was introduced to SeriesTreeWidget triggering the edit event. It's available from the SeriesTreeWidget context menu. Now doubleclicking an item in SeriesTreeView just plays all child movies. Child items also have their name changed when changing the parent item. This bug was long present in renameSeries. mergeSeries always did the right thing (tm). --- shemov.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shemov.h') diff --git a/shemov.h b/shemov.h index 24e00dc..2d7c94e 100644 --- a/shemov.h +++ b/shemov.h @@ -92,6 +92,7 @@ class SheMov : public QMainWindow { QAction *mExpandCurrentA; QAction *mNewMovieWizardA; QAction *mAddCoverA; + QAction *mEditItemA; //TreeView View Actions QAction *mShowLocalA; -- cgit v1.2.3-70-g09d2