From 134029662c387af28b6a93c9119b1f16832d0e2b Mon Sep 17 00:00:00 2001 From: stv Date: Mon, 30 Oct 2006 12:44:44 +0000 Subject: [PATCH] Allow to add one action to tollbar several times. --- src/Qtx/QtxActionToolMgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Qtx/QtxActionToolMgr.cxx b/src/Qtx/QtxActionToolMgr.cxx index 9ce569613..6d33cd902 100644 --- a/src/Qtx/QtxActionToolMgr.cxx +++ b/src/Qtx/QtxActionToolMgr.cxx @@ -148,10 +148,10 @@ int QtxActionToolMgr::insert( const int id, const int tid, const int idx ) { if ( !contains( id ) || !hasToolBar( tid ) ) return -1; - +/* if ( containsAction( id, tid ) ) remove( id, tid ); - +*/ ToolNode node; node.id = id; -- 2.39.2