From 6af0dad2eeba82929c2299f66ea81e5d0140a251 Mon Sep 17 00:00:00 2001 From: "Martin T. H. Sandsmark" Date: Sat, 17 Dec 2016 14:23:20 +0100 Subject: Fix updating of new item menu when changing tabs Correctly set the active status of views when changing tabs. Before: Right click in home folder, see create new enabled, open tab, go to /usr, right click and see it is disabled, switch back to first tab and right click, and it is still disabled. After: It is enabled and disabled as appropriate when switching tab. REVIEW: 129664 --- src/dolphintabwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphintabwidget.h') diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 7b3a18814..50ebd602a 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -186,6 +186,8 @@ private: private: /** Caches the (negated) places panel visibility */ bool m_placesSelectorVisible; + + int m_previousTab; }; #endif -- cgit v1.3