Better fix for non-rearrangement after open for the port matrix.
[ardour.git] / gtk2_ardour / port_matrix.h
index 76f6d09a6ac78d657552455be73d7c33978cbd80..666a55da04e80a319f1bfacaf7cb19f9793c467a 100644 (file)
@@ -160,6 +160,8 @@ private:
        void hide_group (boost::weak_ptr<PortGroup>);
        void show_group (boost::weak_ptr<PortGroup>);
        void toggle_show_only_bundles ();
+       void on_realize ();
+       void on_unrealize ();
 
        /// port type that we are working with
        ARDOUR::DataType _type;
@@ -175,7 +177,7 @@ private:
        int _min_height_divisor;
        bool _show_only_bundles;
        bool _inhibit_toggle_show_only_bundles;
-       bool _first_setup;
+       bool _realized;
 };
 
 #endif