From kde-devel Sun Feb 24 01:02:47 2002 From: Patrick Julien Date: Sun, 24 Feb 2002 01:02:47 +0000 To: kde-devel Subject: tool properties X-MARC-Message: https://marc.info/?l=kde-devel&m=101451284908689 Hi lmontel, I don't like this patch to Krayon's view, the only reason the old code generated an assertion failure is because of all the work I have been doing on the tools, for the moment, no default tool is selected on startup right now. I was planning on "greying" out the option in the menu when I am finished, i.e. I want to leave the assert, or Q_ASSERT :) in there. void KisView::tool_properties() { - assert(m_pTool); - m_pTool -> optionsDialog(); + if(m_pTool) + m_pTool -> optionsDialog(); } >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<